<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>检查-7</title>
    <link rel="stylesheet" href="../../../layui/css/layui.css" media="all">
    <script src="../../../js/jquery/1.x/jquery.js"></script>
    <script src="../../../layui/layui.js" charset="utf-8"></script>
    <script src="../../../js/config.js"></script>
    <script src="../../../js/public.js"></script>
    <script src="../../../js/function.js"></script>
    <link rel="stylesheet" href="../../../css/public.css">
    <link rel="stylesheet" href="../../../css/patient/qss.css">
    <style>
        .qss-item-title button {
            margin-left: 2em;
            float: none;
        }
        
        .qss-form-item button {
            float: right;
            font-size: 14px;
            color: white;
            width: 98px;
            line-height: 24px;
            border: 0;
            border-radius: 3px;
            background: #4777E7;
        }
        
        .qss-form-item .check-date {
            float: left;
        }
        
        .qss-form-item .check-date input {
            display: inline-block;
        }
        
        .gh-box {
            display: none;
        }
        
        .acth-box {
            display: none;
        }
        
        .prl-box {
            display: none;
        }
        
        .tsh-box {
            display: none;
        }
        
        .ctsj-box {
            display: none;
        }
        
        .qtct-box {
            display: none;
        }
        
        .layui-table .layui-input {
            border: 1px #d2d2d2 solid !important;
            height: 30px !important;
        }
        
        .qss-item-table .layui-table td {
            padding: 10px;
        }
    </style>
</head>

<body>
    <div class="container">
        <div class="tab-title">
            <ul class="tab-title-tab">
                <li>
                    <a href="../V1_1/patient_info.html">
                        <p>基本信息</p>
                        <p class="complete_basic">0%</p>
                    </a>
                </li>
                <li>
                    <a href="./qss1.html">
                        <p>病历采集</p>
                        <p class="complete_qss">0%</p>
                    </a>
                </li>
                <li class="tab-curr">
                    <a href="./qss7.html">
                        <p>检查信息</p>
                        <p style="display: none;">0%</p>
                    </a>
                </li>
                <div class="clear"></div>
            </ul>
        </div>
        <div class="qss-container">
            <div class="qss-box">
                <form class="layui-form qss-form">
                    <div class="qss-item">
                        <div class="qss-item-title">
                            <p></p> <button type="button" class="add-new-161">新增一份检查</button>
                        </div>
                        <div class="content-161" data-qid="161">
                            <div class="qss-form-item layui-form-item table-161" data-qid="161">
                                <div class="qss-form-item layui-form-item">
                                    <div class="check-date">检查日期 <input type="text" class="layui-input table-input date-161" autocomplete="off" readonly="readonly" id="date161"></div>
                                    <button type="button" class="del">删除本次</button>
                                    <div class="layui-form-label layui-form-item" style="margin-bottom:5px;">随机GH：<input type="text" lay-verify="number_char" lay-verType="tips" class="input-border-bottom data-161" name="161" data-qid="161">ng/ml， IGF-1<input type="text" lay-verify="number_char" lay-verType="tips" class="input-border-bottom data-162"
                                            data-qid="162" name="162">ng/ml</div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="qss-item gh-box">
                        <div class="qss-item-title">
                            <p>口服葡萄糖负荷GH抑制试验</p><button type="button" class="add-new-163">新增一份检查</button>
                        </div>
                        <div class="content-163" data-qid="163">
                            <div class="qss-form-item layui-form-item table-163" data-qid="163">
                                <div class="qss-form-item layui-form-item">
                                    <div class="check-date">检查日期 <input type="text" class="layui-input table-input date-163" autocomplete="off" readonly="readonly" id="date163"></div>
                                    <button type="button" class="del">删除本次</button>
                                    <div class="qss-item-table">
                                        <table class="layui-table" lay-even lay-skin="" style="border:1px solid #cccccc;">
                                            <thead>
                                                <tr>
                                                    <th>时间</th>
                                                    <th>0分钟</th>
                                                    <th>30分钟</th>
                                                    <th>60分钟</th>
                                                    <th>120分钟</th>
                                                    <th>180分钟</th>
                                                </tr>
                                            </thead>
                                            <tbody>
                                                <tr>
                                                    <td>GH,ng/ml</td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-163001" name="163001" data-qid="163"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-163002" name="163002" data-qid="163"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-163003" name="163003" data-qid="163"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-163004" name="163004" data-qid="163"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-163005" name="163005" data-qid="163"></td>
                                                </tr>
                                            </tbody>
                                        </table>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="qss-item">
                        <div class="qss-item-title">
                            <p>皮质功能</p><button type="button" class="add-new-164">新增一份检查</button>
                        </div>
                        <div class="content-164" data-qid="164">
                            <div class="qss-form-item layui-form-item table-164">
                                <div class="qss-form-item layui-form-item">
                                    <div class="check-date">检查日期 <input type="text" class="layui-input table-input date-164" autocomplete="off" readonly="readonly" id="date164"></div>
                                    <button type="button" class="del">删除本次</button>
                                    <div class="qss-item-table">
                                        <table class="layui-table" lay-even lay-skin="" style="border:1px solid #cccccc;">
                                            <thead>
                                                <tr>
                                                    <th colspan="3">血皮质醇（&#181;g/dl）</th>
                                                    <th>尿游离皮质醇</th>
                                                    <th colspan="3">促肾上腺皮质激素（pg/ml）</th>
                                                </tr>
                                            </thead>
                                            <tbody>
                                                <tr>
                                                    <th>8:00</th>
                                                    <th>16:00</th>
                                                    <th>0:00</th>
                                                    <th>（&#181;g/24h）</th>
                                                    <th>8:00</th>
                                                    <th>16:00</th>
                                                    <th>0:00</th>
                                                </tr>
                                                <tr>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-164001" name="164001" data-qid="164"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-164002" name="164002" data-qid="164"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-164003" name="164003" data-qid="164"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-164004" name="164004" data-qid="164"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-164005" name="164005" data-qid="164"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-164006" name="164006" data-qid="164"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-164007" name="164007" data-qid="164"></td>
                                                </tr>
                                            </tbody>
                                        </table>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="qss-item">
                        <div class="qss-item-title">
                            <p>甲状腺功能</p><button type="button" class="add-new-165">新增一份检查</button>
                        </div>
                        <div class="content-165" data-qid="165">
                            <div class="qss-form-item layui-form-item table-165">
                                <div class="qss-form-item layui-form-item">
                                    <div class="check-date">检查日期 <input type="text" class="layui-input table-input date-165" autocomplete="off" readonly="readonly" id="date165"></div>
                                    <button type="button" class="del">删除本次</button>
                                    <div class="qss-item-table">
                                        <table class="layui-table" lay-even lay-skin="" style="border:1px solid #cccccc;">
                                            <thead>
                                                <tr>
                                                    <th>fT3（pmol/L）</th>
                                                    <th>fT4（pmol/L）</th>
                                                    <th>TSH（uIU/ml）</th>
                                                    <th>TGAb（IU/ml）</th>
                                                    <th>TPOAb（IU/ml）</th>
                                                    <th>降钙素（pg/ml）</th>
                                                </tr>
                                            </thead>
                                            <tbody>
                                                <tr>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-165001" name="165001" data-qid="165"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-165002" name="165002" data-qid="165"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-165003" name="165003" data-qid="165"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-165004" name="165004" data-qid="165"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-165005" name="165005" data-qid="165"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-165006" name="165006" data-qid="165"></td>
                                                </tr>
                                            </tbody>
                                        </table>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="qss-item">
                        <div class="qss-item-title">
                            <p>性激素</p><button type="button" class="add-new-166">新增一份检查</button>
                        </div>
                        <div class="content-166" data-qid="166">
                            <div class="qss-form-item layui-form-item table-166">
                                <div class="qss-form-item layui-form-item">
                                    <div class="check-date">检查日期 <input type="text" class="layui-input table-input date-166" autocomplete="off" readonly="readonly" id="date166"></div>
                                    <button type="button" class="del">删除本次</button>
                                    <div class="qss-item-table">
                                        <table class="layui-table" lay-even lay-skin="" style="border:1px solid #cccccc;">
                                            <thead>
                                                <tr>
                                                    <th>LH（mIU/mL）</th>
                                                    <th>FSH（mIU/mL）</th>
                                                    <th>PRL（ng/mL）</th>
                                                    <th>E2（pg/mL）</th>
                                                    <th>P（ng/mL）</th>
                                                    <th>T（ng/mL）</th>
                                                </tr>
                                            </thead>
                                            <tbody>
                                                <tr>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-166001" name="166001" data-qid="166"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-166002" name="166002" data-qid="166"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-166003" name="166003" data-qid="166"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-166004" name="166004" data-qid="166"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-166005" name="166005" data-qid="166"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-166006" name="166006" data-qid="166"></td>
                                                </tr>
                                                <tr>
                                                    <th>FT（pg/mL）</th>
                                                    <th>DHEAS（&#181;g/dl）</th>
                                                    <th>17-OHP（ng/mL）</th>
                                                    <th>SHBG（nmol/L）</th>
                                                    <th>AD2（ng/mL）</th>
                                                    <th>DHT（pg/ml）</th>
                                                </tr>
                                                <tr>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-166007" name="166007" data-qid="166"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-166008" name="166008" data-qid="166"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-166009" name="166009" data-qid="166"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-166010" name="166010" data-qid="166"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-166011" name="166011" data-qid="166"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-166012" name="166012" data-qid="166"></td>
                                                </tr>
                                            </tbody>
                                        </table>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="qss-item acth-box">
                        <div class="qss-item-title">
                            <p>地塞米松抑制试验</p><button type="button" class="add-new-167">新增一份检查</button>
                        </div>
                        <div class="content-167" data-qid="167">
                            <div class="qss-form-item layui-form-item table-167">
                                <div class="qss-form-item layui-form-item">
                                    <div class="check-date">检查日期 <input type="text" class="layui-input table-input date-167" autocomplete="off" readonly="readonly" id="date167"></div>
                                    <button type="button" class="del">删除本次</button>
                                    <div class="qss-item-table">
                                        <table class="layui-table" lay-even lay-skin="" style="border:1px solid #cccccc;">
                                            <tbody>
                                                <tr style="background: #f2f2f2">
                                                    <th rowspan="2" style="width:20%;">1mg<br/>地塞米松抑制试验</th>
                                                    <th style="width:80%;">血皮质醇8:00</th>
                                                </tr>
                                                <tr style="background: none">
                                                    <td><input type="text" class="layui-input table-input data-167001" name="167001" data-qid="167"></td>
                                                </tr>
                                            </tbody>
                                        </table>
                                    </div>
                                    <div class="qss-item-table">
                                        <table class="layui-table" lay-even lay-skin="" style="border:1px solid #cccccc;">
                                            <tbody>
                                                <tr style="background: #f2f2f2">
                                                    <th rowspan="2" style="width:20%;">2mg<br/>地塞米松抑制试验</th>
                                                    <th>血皮质醇8:00<br/>第2天</th>
                                                    <th>尿游离皮质醇8:00<br/>第2天</th>
                                                    <th>血皮质醇8:00<br/>第3天</th>
                                                    <th>尿游离皮质醇8:00<br/>第3天</th>
                                                </tr>
                                                <tr style="background: none">
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-167002" name="167002" data-qid="167"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-167003" name="167003" data-qid="167"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-167004" name="167004" data-qid="167"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-167005" name="167005" data-qid="167"></td>
                                                </tr>
                                                <tr style="background: #f2f2f2">
                                                    <th rowspan="2" style="width:20%;">8mg<br/>地塞米松抑制试验</th>
                                                    <th>血皮质醇8:00<br/>第2天</th>
                                                    <th>尿游离皮质醇8:00<br/>第2天</th>
                                                    <th>血皮质醇8:00<br/>第3天</th>
                                                    <th>尿游离皮质醇8:00<br/>第3天</th>
                                                </tr>
                                                <tr style="background: none">
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-167006" name="167006" data-qid="167"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-167007" name="167007" data-qid="167"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-167008" name="167008" data-qid="167"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-167009" name="167009" data-qid="167"></td>
                                                </tr>
                                            </tbody>
                                        </table>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="qss-item prl-box">
                        <div class="qss-item-title">
                            <p>胃复安实验</p><button type="button" class="add-new-168">新增一份检查</button>
                        </div>
                        <div class="content-168" data-qid="168">
                            <div class="qss-form-item layui-form-item table-168">
                                <div class="qss-form-item layui-form-item">
                                    <div class="check-date">检查日期 <input type="text" class="layui-input table-input date-168" autocomplete="off" readonly="readonly" id="date168"></div>
                                    <button type="button" class="del">删除本次</button>
                                    <div class="qss-item-table">
                                        <table class="layui-table" lay-even lay-skin="" style="border:1px solid #cccccc;">
                                            <thead>
                                                <tr>
                                                    <th style="width:10%;"></th>
                                                    <th>0min</th>
                                                    <th>10min</th>
                                                    <th>15min</th>
                                                    <th>30min</th>
                                                    <th>40min</th>
                                                    <th>60min</th>
                                                    <th>120min</th>
                                                    <th>180min</th>
                                                </tr>
                                            </thead>
                                            <tbody>
                                                <tr>
                                                    <td>PRL</td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-168001" name="168001" data-qid="168"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-168002" name="168002" data-qid="168"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-168003" name="168003" data-qid="168"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-168004" name="168004" data-qid="168"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-168005" name="168005" data-qid="168"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-168006" name="168006" data-qid="168"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-168007" name="168007" data-qid="168"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-168008" name="168008" data-qid="168"></td>
                                                </tr>
                                            </tbody>
                                        </table>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="qss-item tsh-box">
                        <div class="qss-item-title">
                            <p>善宁抑制试验</p><button type="button" class="add-new-169">新增一份检查</button>
                        </div>
                        <div class="content-169" data-qid="169">
                            <div class="qss-form-item layui-form-item table-169">
                                <div class="qss-form-item layui-form-item">
                                    <div class="check-date">检查日期 <input type="text" class="layui-input table-input date-169" autocomplete="off" readonly="readonly" id="date169"></div>
                                    <button type="button" class="del">删除本次</button>
                                    <div class="qss-item-table">
                                        <table class="layui-table" lay-even lay-skin="" style="border:1px solid #cccccc;">
                                            <thead>
                                                <tr>
                                                    <th style="width:10%;"></th>
                                                    <th>0h</th>
                                                    <th>2h</th>
                                                    <th>4h</th>
                                                    <th>6h</th>
                                                    <th>8h</th>
                                                    <th>24h</th>
                                                </tr>
                                            </thead>
                                            <tbody>
                                                <tr>
                                                    <td>TSH</td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-169001" name="169001" data-qid="169"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-169002" name="169002" data-qid="169"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-169003" name="169003" data-qid="169"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-169004" name="169004" data-qid="169"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-169005" name="169005" data-qid="169"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-169006" name="169006" data-qid="169"></td>
                                                </tr>
                                            </tbody>
                                        </table>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="qss-item ctsj-box">
                        <div class="qss-item-title">
                            <p>ITT试验</p><button type="button" class="add-new-170">新增一份检查</button>
                        </div>
                        <div class="content-170" data-qid="170">
                            <div class="qss-form-item layui-form-item table-170">
                                <div class="qss-form-item layui-form-item">
                                    <div class="check-date">检查日期 <input type="text" class="layui-input table-input date-170" autocomplete="off" readonly="readonly" id="date170"></div>
                                    <button type="button" class="del">删除本次</button>
                                    <div class="qss-item-table">
                                        <table class="layui-table" lay-even lay-skin="" style="border:1px solid #cccccc;">
                                            <thead>
                                                <tr>
                                                    <th style="width:15%;"></th>
                                                    <th>-30min</th>
                                                    <th>0min</th>
                                                    <th>30min</th>
                                                    <th>45min</th>
                                                    <th>60min</th>
                                                    <th>90min</th>
                                                    <th>120min</th>
                                                </tr>
                                            </thead>
                                            <tbody>
                                                <tr>
                                                    <td>GH（ng/L）</td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170001" name="170001" data-qid="170"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170002" name="170002" data-qid="170"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170003" name="170003" data-qid="170"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170004" name="170004" data-qid="170"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170005" name="170005" data-qid="170"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170006" name="170006" data-qid="170"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170007" name="170007" data-qid="170"></td>
                                                </tr>
                                                <tr>
                                                    <td>血皮质醇（&#181;g/dl）</td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170008" name="170008" data-qid="170"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170009" name="170009" data-qid="170"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170010" name="170010" data-qid="170"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170011" name="170011" data-qid="170"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170012" name="170012" data-qid="170"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170013" name="170013" data-qid="170"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170014" name="170014" data-qid="170"></td>
                                                </tr>
                                                <tr>
                                                    <td>血糖（mmol/L）</td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170015" name="170015" data-qid="170"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170016" name="170016" data-qid="170"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170017" name="170017" data-qid="170"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170018" name="170018" data-qid="170"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170019" name="170019" data-qid="170"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170020" name="170020" data-qid="170"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170021" name="170021" data-qid="170"></td>
                                                </tr>
                                            </tbody>
                                        </table>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="qss-item ctsj-box">
                        <div class="qss-item-title">
                            <p>GnRH试验</p><button type="button" class="add-new-171">新增一份检查</button>
                        </div>
                        <div class="content-171" data-qid="171">
                            <div class="qss-form-item layui-form-item table-171">
                                <div class="qss-form-item layui-form-item">
                                    <div class="check-date">检查日期 <input type="text" class="layui-input table-input date-171" autocomplete="off" readonly="readonly" id="date171"></div>
                                    <button type="button" class="del">删除本次</button>
                                    <div class="qss-item-table">
                                        <table class="layui-table" lay-even lay-skin="" style="border:1px solid #cccccc;">
                                            <thead>
                                                <tr>
                                                    <th style="width:15%;"></th>
                                                    <th>-15min</th>
                                                    <th>0min</th>
                                                    <th>25min</th>
                                                    <th>45min</th>
                                                    <th>90min</th>
                                                    <th>180min</th>
                                                </tr>
                                            </thead>
                                            <tbody>
                                                <tr>
                                                    <td>LH（mIU/ml）</td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-171001" name="171001" data-qid="171"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-171002" name="171002" data-qid="171"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-171003" name="171003" data-qid="171"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-171004" name="171004" data-qid="171"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-171005" name="171005" data-qid="171"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-171006" name="171006" data-qid="171"></td>
                                                </tr>
                                                <tr>
                                                    <td>FSH（mIU/ml）</td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-171007" name="171007" data-qid="171"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-171008" name="171008" data-qid="171"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-171009" name="171009" data-qid="171"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-171010" name="171010" data-qid="171"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-171011" name="171011" data-qid="171"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-171012" name="171012" data-qid="171"></td>
                                                </tr>
                                            </tbody>
                                        </table>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="qss-item ctsj-box">
                        <div class="qss-item-title">
                            <p>HCG试验</p><button type="button" class="add-new-172">新增一份检查</button>
                        </div>
                        <div class="content-172" data-qid="172">
                            <div class="qss-form-item layui-form-item table-172">
                                <div class="qss-form-item layui-form-item">
                                    <div class="check-date">检查日期 <input type="text" class="layui-input table-input date-172" autocomplete="off" readonly="readonly" id="date172"></div>
                                    <button type="button" class="del">删除本次</button>
                                    <div class="qss-item-table">
                                        <table class="layui-table" lay-even lay-skin="" style="border:1px solid #cccccc;">
                                            <thead>
                                                <tr>
                                                    <th style="width:15%;"></th>
                                                    <th>-15min</th>
                                                    <th>0min</th>
                                                    <th>24h</th>
                                                    <th>48h</th>
                                                    <th>72h</th>
                                                </tr>
                                            </thead>
                                            <tbody>
                                                <tr>
                                                    <td>T</td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-172001" name="172001" data-qid="172"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-172002" name="172002" data-qid="172"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-172003" name="172003" data-qid="172"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-172004" name="172004" data-qid="172"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-172005" name="172005" data-qid="172"></td>
                                                </tr>
                                                <tr>
                                                    <td>DHT</td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-172006" name="172006" data-qid="172"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-172007" name="172007" data-qid="172"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-172008" name="172008" data-qid="172"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-172009" name="172009" data-qid="172"></td>
                                                    <td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-172010" name="172010" data-qid="172"></td>
                                                </tr>
                                            </tbody>
                                        </table>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="qss-item qtct-box">
                        <div class="qss-item-title">
                            <button type="button" class="add-new-173">新增一份检查</button>
                        </div>
                        <div class="content-173" data-qid="173">
                            <div class="qss-form-item layui-form-item table-173">
                                <div class="qss-form-item layui-form-item">
                                    <div class="check-date">检查日期 <input type="text" class="layui-input table-input date-173" autocomplete="off" readonly="readonly" id="date173"></div>
                                    <button type="button" class="del">删除本次</button>
                                    <div class="layui-form-label layui-form-item" style="margin-bottom:5px;">甲胎蛋白：<input type="text" lay-verify="number_char" lay-verType="tips" class="input-border-bottom  data-173" name="173" data-qid="173">ng/ml， &#223;-人绒毛膜促性腺激素<input type="text" lay-verify="number_char" lay-verType="tips"
                                            class="input-border-bottom  data-174" name="174" data-qid="174">mIU/ml</div>
                                </div>
                            </div>
                        </div>
                    </div>


                    <div class="qss-item-btn">
                        <div class="qss-item-btn">
                            <a href="javascript:;">
                                <button type="button" lay-submit="" lay-filter="submit-btn" data-type="1">提交并跳转下一页</button>
                            </a>
                            <a href="javascript:;">
                                <button type="button" lay-submit="" lay-filter="submit-btn" data-type="0">保存并留在本页</button>
                            </a>
                            <a href="qss8.html">
                                <button type="button">放弃编辑并跳转下一页</button>
                            </a>
                        </div>
                    </div>
                </form>
                <div class="fixed-nav">
                    <ul>
                        <li class="fixed-nav-curr"><a>肿瘤定制化检查</a></li>
                        <li><a href="qss8.html">其他靶向激素检查</a></li>
                        <li><a href="qss9.html">辅助检查</a></li>
                        <li><a href="qss10.html">其他实验室检查</a></li>
                    </ul>
                    <button type="button" lay-submit="" lay-filter="submit-btn" data-type="1">提交</button>
                </div>
            </div>
        </div>

    </div>
</body>
<script>
    /*var question = {
                                                        163:[],
                                                    };*/
    function initForm(patient_id, form, laydate) {
        //获取答案,初始化表单
        ajax_get(configUrl.qssInfo, {
            user_id: patient_id,
            visit_level: 1,
            template_id: 17
        }, (res) => {
            console.log(res.data.more_answer)
            $.each(res.data.more_answer, function(index, item) {
                if (index == 161) {
                    $('.content-161').empty();
                    $.each(item, function(index2, item2) {
                        var randId = Math.ceil(Math.random() * 10000);
                        var str = '<div class="qss-form-item layui-form-item item-161' + index2 + ' table-161" data-qid="161">' +
                            '<div class="qss-form-item layui-form-item">' +
                            '<div class="check-date">检查日期 <input type="text" class="layui-input table-input date-161"  autocomplete="off" readonly="readonly" id="date161-' + randId + '"></div>' +
                            '<button type="button" class="del">删除本次</button>' +
                            '<div class="layui-form-label layui-form-item" style="margin-bottom:5px;">随机GH：<input type="text" lay-verify="number_char" lay-verType="tips" class="input-border-bottom data-161" name="161" data-qid="161">ng/ml， IGF-1<input type="text" lay-verify="number_char" lay-verType="tips" class="input-border-bottom data-162" data-qid="162" name="162">ng/ml</div>' +
                            '</div>' +
                            '</div>';
                        $('.content-161').append(str);
                        laydate.render({
                            elem: '#date161-' + randId
                        })
                        $.each(item2, function(index3, item3) {
                            if (index3 == 0) {
                                if (item3.date != '0000-00-00') {
                                    $('.item-161' + index2).find('.date-161').val(item3.date);
                                }
                            }
                            $('.item-161' + index2).find('.data-' + item3.answer_id).val(item3.answer_name);
                        })
                    });
                }
                if (index == 163) {
                    $('.content-163').empty();
                    $.each(item, function(index2, item2) {
                        var randId = Math.ceil(Math.random() * 10000);
                        var str = '<div class="qss-form-item layui-form-item item-163' + index2 + ' table-163" data-qid="163">' +
                            '<div class="qss-form-item layui-form-item">' +
                            '<div class="check-date">检查日期 <input type="text" class="layui-input table-input date-163"  autocomplete="off" readonly="readonly" id="date163-' + randId + '"></div>' +
                            '<button type="button" class="del">删除本次</button>' +
                            '<div class="qss-item-table">' +
                            '<table class="layui-table" lay-even lay-skin="" style="border:1px solid #cccccc;">' +
                            '<thead>' +
                            '<tr>' +
                            '<th>时间</th>' +
                            '<th>0分钟</th>' +
                            '<th>30分钟</th>' +
                            '<th>60分钟</th>' +
                            '<th>120分钟</th>' +
                            '<th>180分钟</th>' +
                            '</tr>' +
                            '</thead>' +
                            '<tbody>' +
                            '<tr>' +
                            '<td>GH,ng/ml</td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-163001" name="163001" data-qid="163"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-163002" name="163002" data-qid="163"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-163003" name="163003" data-qid="163"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-163004" name="163004" data-qid="163"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-163005" name="163005" data-qid="163"></td>' +
                            '</tr>' +
                            '</tbody>' +
                            '</table>' +
                            '</div>' +
                            '</div>' +
                            '</div>';
                        $('.content-163').append(str);
                        laydate.render({
                            elem: '#date163-' + randId
                        })
                        $.each(item2, function(index3, item3) {
                            if (index3 == 0) {
                                if (item3.date != '0000-00-00') {
                                    $('.item-163' + index2).find('.date-163').val(item3.date);
                                }
                            }
                            $('.item-163' + index2).find('.data-' + item3.answer_id).val(item3.answer_name);
                        })
                    });
                }
                if (index == 164) {
                    $('.content-164').empty();
                    $.each(item, function(index2, item2) {
                        var randId = Math.ceil(Math.random() * 10000);
                        var str = '<div class="qss-form-item layui-form-item item-164' + index2 + ' table-164">' +
                            '<div class="qss-form-item layui-form-item">' +
                            '<div class="check-date">检查日期 <input type="text" class="layui-input table-input date-164"  autocomplete="off" readonly="readonly" id="date164-' + randId + '"></div>' +
                            '<button type="button" class="del">删除本次</button>' +
                            '<div class="qss-item-table">' +
                            '<table class="layui-table" lay-even lay-skin="" style="border:1px solid #cccccc;">' +
                            '<thead>' +
                            '<tr>' +
                            '<th colspan="3">血皮质醇（&#181;g/dl）</th>' +
                            '<th>尿游离皮质醇</th>' +
                            '<th colspan="3">促肾上腺皮质激素（pg/ml）</th>' +
                            '</thead>' +
                            '<tbody>' +
                            '<tr>' +
                            '<th>8:00</th>' +
                            '<th>16:00</th>' +
                            '<th>0:00</th>' +
                            '<th>（&#181;/24h）</th>' +
                            '<th>8:00</th>' +
                            '<th>16:00</th>' +
                            '<th>0:00</th>' +
                            '</tr>' +
                            '<tr>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-164001" name="164001" data-qid="164"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-164002" name="164002" data-qid="164"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-164003" name="164003" data-qid="164"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-164004" name="164004" data-qid="164"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-164005" name="164005" data-qid="164"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-164006" name="164006" data-qid="164"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-164007" name="164007" data-qid="164"></td>' +
                            '</tr>' +
                            '</tbody>' +
                            '</table>' +
                            '</div>' +
                            '</div>' +
                            '</div>';
                        $('.content-164').append(str);
                        laydate.render({
                            elem: '#date164-' + randId
                        })
                        $.each(item2, function(index3, item3) {
                            if (index3 == 0) {
                                if (item3.date != '0000-00-00') {
                                    $('.item-164' + index2).find('.date-164').val(item3.date);
                                }
                            }
                            $('.item-164' + index2).find('.data-' + item3.answer_id).val(item3.answer_name);
                        })
                    });
                }
                if (index == 165) {
                    $('.content-165').empty();
                    $.each(item, function(index2, item2) {
                        var randId = Math.ceil(Math.random() * 10000);
                        var str = '<div class="qss-form-item layui-form-item item-165' + index2 + ' table-165">' +
                            '<div class="qss-form-item layui-form-item">' +
                            '<div class="check-date">检查日期 <input type="text" class="layui-input table-input date-165"  autocomplete="off" readonly="readonly" id="date165-' + randId + '"></div>' +
                            '<button type="button" class="del">删除本次</button>' +
                            '<div class="qss-item-table">' +
                            '<table class="layui-table" lay-even lay-skin="" style="border:1px solid #cccccc;">' +
                            '<thead>' +
                            '<tr>' +
                            '<th>fT3（pmol/L）</th>' +
                            '<th>fT4（pmol/L）</th>' +
                            '<th>TSH（uIU/mL）</th>' +
                            '<th>TGAb（IU/mL）</th>' +
                            '<th>TPOAb（IU/mL）</th>' +
                            '<th>降钙素（pg/mL）</th>' +
                            '</tr>' +
                            '</thead>' +
                            '<tbody>' +
                            '<tr>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-165001" name="165001" data-qid="165"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-165002" name="165002" data-qid="165"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-165003" name="165003" data-qid="165"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-165004" name="165004" data-qid="165"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-165005" name="165005" data-qid="165"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-165006" name="165006" data-qid="165"></td>' +
                            '</tr>' +
                            '</tbody>' +
                            '</table>' +
                            '</div>' +
                            '</div>' +
                            '</div>';
                        $('.content-165').append(str);
                        laydate.render({
                            elem: '#date165-' + randId
                        })
                        $.each(item2, function(index3, item3) {
                            if (index3 == 0) {
                                if (item3.date != '0000-00-00') {
                                    $('.item-165' + index2).find('.date-165').val(item3.date);
                                }
                            }
                            $('.item-165' + index2).find('.data-' + item3.answer_id).val(item3.answer_name);
                        })
                    });
                }
                if (index == 166) {
                    $('.content-166').empty();
                    $.each(item, function(index2, item2) {
                        var randId = Math.ceil(Math.random() * 10000);
                        var str = '<div class="qss-form-item layui-form-item item-166' + index2 + ' table-166">' +
                            '<div class="qss-form-item layui-form-item">' +
                            '<div class="check-date">检查日期 <input type="text" class="layui-input table-input date-166"  autocomplete="off" readonly="readonly" id="date166-' + randId + '"></div>' +
                            '<button type="button" class="del">删除本次</button>' +
                            '<div class="qss-item-table">' +
                            '<table class="layui-table" lay-even lay-skin="" style="border:1px solid #cccccc;">' +
                            '<thead>' +
                            '<tr>' +
                            '<th>LH（mIU/mL）</th>' +
                            '<th>FSH（mIU/mL）</th>' +
                            '<th>PRL（ng/mL）</th>' +
                            '<th>E2（pg/mL）</th>' +
                            '<th>P（ng/mL）</th>' +
                            '<th>T（ng/mL）</th>' +
                            '</tr>' +
                            '</thead>' +
                            '<tbody>' +
                            '<tr>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-166001" name="166001" data-qid="166"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-166002" name="166002" data-qid="166"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-166003" name="166003" data-qid="166"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-166004" name="166004" data-qid="166"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-166005" name="166005" data-qid="166"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-166006" name="166006" data-qid="166"></td>' +
                            '</tr>' +
                            '<tr>' +
                            '<th>FT（pg/mL）</th>' +
                            '<th>DHEAS（&#181;g/dL）</th>' +
                            '<th>17-OHP（ng/mL）</th>' +
                            '<th>SHBG（nmol/L）</th>' +
                            '<th>AD2（ng/mL）</th>' +
                            '<th>DHT（pg/mL）</th>' +
                            '</tr>' +
                            '<tr>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-166007" name="166007" data-qid="166"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-166008" name="166008" data-qid="166"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-166009" name="166009" data-qid="166"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-166010" name="166010" data-qid="166"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-166011" name="166011" data-qid="166"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-166012" name="166012" data-qid="166"></td>' +
                            '</tr>' +
                            '</tbody>' +
                            '</table>' +
                            '</div>' +
                            '</div>' +
                            '</div>';
                        $('.content-166').append(str);
                        laydate.render({
                            elem: '#date166-' + randId
                        })
                        $.each(item2, function(index3, item3) {
                            if (index3 == 0) {
                                if (item3.date != '0000-00-00') {
                                    $('.item-166' + index2).find('.date-166').val(item3.date);
                                }
                            }
                            $('.item-166' + index2).find('.data-' + item3.answer_id).val(item3.answer_name);
                        })
                    });
                }
                if (index == 167) {
                    $('.content-167').empty();
                    $.each(item, function(index2, item2) {
                        var randId = Math.ceil(Math.random() * 10000);
                        var str = '<div class="qss-form-item layui-form-item item-167' + index2 + ' table-167">' +
                            '<div class="qss-form-item layui-form-item">' +
                            '<div class="check-date">检查日期 <input type="text" class="layui-input table-input date-167"  autocomplete="off" readonly="readonly" id="date167-' + randId + '"></div>' +
                            '<button type="button" class="del">删除本次</button>' +
                            '<div class="qss-item-table">' +
                            '<table class="layui-table" lay-even lay-skin="" style="border:1px solid #cccccc;">' +
                            '<tbody>' +
                            '<tr style="background: #f2f2f2">' +
                            '<th rowspan="2" style="width:20%;">1mg<br/>地塞米松抑制试验</th>' +
                            '<th style="width:80%;">血皮质醇8:00</th>' +
                            '</tr>' +
                            '<tr style="background: none">' +
                            '<td><input type="text" class="layui-input table-input data-167001" name="167001" data-qid="167"></td>' +
                            '</tr>' +
                            '</tbody>' +
                            '</table>' +
                            '</div>' +
                            '<div class="qss-item-table">' +
                            '<table class="layui-table" lay-even lay-skin="" style="border:1px solid #cccccc;">' +
                            '<tbody>' +
                            '<tr style="background: #f2f2f2">' +
                            '<th rowspan="2" style="width:20%;">2mg<br/>地塞米松抑制试验</th>' +
                            '<th>血皮质醇8:00<br/>第2天</th>' +
                            '<th>尿游离皮质醇8:00<br/>第2天</th>' +
                            '<th>血皮质醇8:00<br/>第3天</th>' +
                            '<th>尿游离皮质醇8:00<br/>第3天</th>' +
                            '</tr>' +
                            '<tr style="background: none">' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-167002" name="167002" data-qid="167"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-167003" name="167003" data-qid="167"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-167004" name="167004" data-qid="167"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-167005" name="167005" data-qid="167"></td>' +
                            '</tr>' +
                            '<tr style="background: #f2f2f2">' +
                            '<th rowspan="2" style="width:20%;">8mg<br/>地塞米松抑制试验</th>' +
                            '<th>血皮质醇8:00<br/>第2天</th>' +
                            '<th>尿游离皮质醇8:00<br/>第2天</th>' +
                            '<th>血皮质醇8:00<br/>第3天</th>' +
                            '<th>尿游离皮质醇8:00<br/>第3天</th>' +
                            '</tr>' +
                            '<tr style="background: none">' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-167006" name="167006" data-qid="167"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-167007" name="167007" data-qid="167"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-167008" name="167008" data-qid="167"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-167009" name="167009" data-qid="167"></td>' +
                            '</tr>' +
                            '</tbody>' +
                            '</table>' +
                            '</div>' +
                            '</div>' +
                            '</div>';
                        $('.content-167').append(str);
                        laydate.render({
                            elem: '#date167-' + randId
                        })
                        $.each(item2, function(index3, item3) {
                            if (index3 == 0) {
                                if (item3.date != '0000-00-00') {
                                    $('.item-167' + index2).find('.date-167').val(item3.date);
                                }
                            }
                            $('.item-167' + index2).find('.data-' + item3.answer_id).val(item3.answer_name);
                        })
                    });
                }
                if (index == 168) {
                    $('.content-168').empty();
                    $.each(item, function(index2, item2) {
                        var randId = Math.ceil(Math.random() * 10000);
                        var str = '<div class="qss-form-item layui-form-item item-168' + index2 + ' table-168">' +
                            '<div class="qss-form-item layui-form-item">' +
                            '<div class="check-date">检查日期 <input type="text" class="layui-input table-input date-168"  autocomplete="off" readonly="readonly" id="date168-' + randId + '"></div>' +
                            '<button type="button" class="del">删除本次</button>' +
                            '<div class="qss-item-table">' +
                            '<table class="layui-table" lay-even lay-skin="" style="border:1px solid #cccccc;">' +
                            '<thead>' +
                            '<tr>' +
                            '<th style="width:10%;"></th>' +
                            '<th>0min</th>' +
                            '<th>10min</th>' +
                            '<th>15min</th>' +
                            '<th>30min</th>' +
                            '<th>40min</th>' +
                            '<th>60min</th>' +
                            '<th>120min</th>' +
                            '<th>180min</th>' +
                            '</tr>' +
                            '</thead>' +
                            '<tbody>' +
                            '<tr>' +
                            '<td>PRL</td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-168001" name="168001" data-qid="168"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-168002" name="168002" data-qid="168"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-168003" name="168003" data-qid="168"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-168004" name="168004" data-qid="168"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-168005" name="168005" data-qid="168"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-168006" name="168006" data-qid="168"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-168007" name="168007" data-qid="168"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-168008" name="168008" data-qid="168"></td>' +
                            '</tr>' +
                            '</tbody>' +
                            '</table>' +
                            '</div>' +
                            '</div>' +
                            '</div>';
                        $('.content-168').append(str);
                        laydate.render({
                            elem: '#date168-' + randId
                        })
                        $.each(item2, function(index3, item3) {
                            if (index3 == 0) {
                                if (item3.date != '0000-00-00') {
                                    $('.item-168' + index2).find('.date-168').val(item3.date);
                                }
                            }
                            $('.item-168' + index2).find('.data-' + item3.answer_id).val(item3.answer_name);
                        })
                    });
                }
                if (index == 169) {
                    $('.content-169').empty();
                    $.each(item, function(index2, item2) {
                        var randId = Math.ceil(Math.random() * 10000);
                        var str = '<div class="qss-form-item layui-form-item item-169' + index2 + ' table-169">' +
                            '<div class="qss-form-item layui-form-item">' +
                            '<div class="check-date">检查日期 <input type="text" class="layui-input table-input date-169"  autocomplete="off" readonly="readonly" id="date169-' + randId + '"></div>' +
                            '<button type="button" class="del">删除本次</button>' +
                            '<div class="qss-item-table">' +
                            '<table class="layui-table" lay-even lay-skin="" style="border:1px solid #cccccc;">' +
                            '<thead>' +
                            '<tr>' +
                            '<th style="width:10%;"></th>' +
                            '<th>0h</th>' +
                            '<th>2h</th>' +
                            '<th>4h</th>' +
                            '<th>6h</th>' +
                            '<th>8h</th>' +
                            '<th>24h</th>' +
                            '</tr>' +
                            '</thead>' +
                            '<tbody>' +
                            '<tr>' +
                            '<td>TSH</td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-169001" name="169001" data-qid="169"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-169002" name="169002" data-qid="169"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-169003" name="169003" data-qid="169"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-169004" name="169004" data-qid="169"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-169005" name="169005" data-qid="169"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-169006" name="169006" data-qid="169"></td>' +
                            '</tr>' +
                            '</tbody>' +
                            '</table>' +
                            '</div>' +
                            '</div>' +
                            '</div>';
                        $('.content-169').append(str);
                        laydate.render({
                            elem: '#date169-' + randId
                        })
                        $.each(item2, function(index3, item3) {
                            if (index3 == 0) {
                                if (item3.date != '0000-00-00') {
                                    $('.item-169' + index2).find('.date-169').val(item3.date);
                                }
                            }
                            $('.item-169' + index2).find('.data-' + item3.answer_id).val(item3.answer_name);
                        })
                    });
                }
                if (index == 170) {
                    $('.content-170').empty();
                    $.each(item, function(index2, item2) {
                        var randId = Math.ceil(Math.random() * 10000);
                        var str = '<div class="qss-form-item layui-form-item item-170' + index2 + ' table-170">' +
                            '<div class="qss-form-item layui-form-item">' +
                            '<div class="check-date">检查日期 <input type="text" class="layui-input table-input date-170"  autocomplete="off" readonly="readonly" id="date170-' + randId + '"></div>' +
                            '<button type="button" class="del">删除本次</button>' +
                            '<div class="qss-item-table">' +
                            '<table class="layui-table" lay-even lay-skin="" style="border:1px solid #cccccc;">' +
                            '<thead>' +
                            '<tr>' +
                            '<th style="width:15%;"></th>' +
                            '<th>-30min</th>' +
                            '<th>0min</th>' +
                            '<th>30min</th>' +
                            '<th>45min</th>' +
                            '<th>60min</th>' +
                            '<th>90min</th>' +
                            '<th>120min</th>' +
                            '</tr>' +
                            '</thead>' +
                            '<tbody>' +
                            '<tr>' +
                            '<td>GH（ng/L）</td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170001" name="170001" data-qid="170"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170002" name="170002" data-qid="170"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170003" name="170003" data-qid="170"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170004" name="170004" data-qid="170"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170005" name="170005" data-qid="170"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170006" name="170006" data-qid="170"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170007" name="170007" data-qid="170"></td>' +
                            '</tr>' +
                            '<tr>' +
                            '<td>血皮质醇（&#181;g/dl）</td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170008" name="170008" data-qid="170"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170009" name="170009" data-qid="170"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170010" name="170010" data-qid="170"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170011" name="170011" data-qid="170"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170012" name="170012" data-qid="170"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170013" name="170013" data-qid="170"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170014" name="170014" data-qid="170"></td>' +
                            '</tr>' +
                            '<tr>' +
                            '<td>血糖（mmol/L）</td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170015" name="170015" data-qid="170"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170016" name="170016" data-qid="170"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170017" name="170017" data-qid="170"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170018" name="170018" data-qid="170"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170019" name="170019" data-qid="170"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170020" name="170020" data-qid="170"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170021" name="170021" data-qid="170"></td>' +
                            '</tr>' +
                            '</tbody>' +
                            '</table>' +
                            '</div>' +
                            '</div>' +
                            '</div>';
                        $('.content-170').append(str);
                        laydate.render({
                            elem: '#date170-' + randId
                        })
                        $.each(item2, function(index3, item3) {
                            if (index3 == 0) {
                                if (item3.date != '0000-00-00') {
                                    $('.item-170' + index2).find('.date-170').val(item3.date);
                                }
                            }
                            $('.item-170' + index2).find('.data-' + item3.answer_id).val(item3.answer_name);
                        })
                    });
                }
                if (index == 171) {
                    $('.content-171').empty();
                    $.each(item, function(index2, item2) {
                        var randId = Math.ceil(Math.random() * 10000);
                        var str = '<div class="qss-form-item layui-form-item item-171' + index2 + ' table-171">' +
                            '<div class="qss-form-item layui-form-item">' +
                            '<div class="check-date">检查日期 <input type="text" class="layui-input table-input date-171"  autocomplete="off" readonly="readonly" id="date171-' + randId + '"></div>' +
                            '<button type="button" class="del">删除本次</button>' +
                            '<div class="qss-item-table">' +
                            '<table class="layui-table" lay-even lay-skin="" style="border:1px solid #cccccc;">' +
                            '<thead>' +
                            '<tr>' +
                            '<th style="width:15%;"></th>' +
                            '<th>-15min</th>' +
                            '<th>0min</th>' +
                            '<th>25min</th>' +
                            '<th>45min</th>' +
                            '<th>90min</th>' +
                            '<th>180min</th>' +
                            '</tr>' +
                            '</thead>' +
                            '<tbody>' +
                            '<tr>' +
                            '<td>LH（mIU/ml）</td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-171001" name="171001" data-qid="171"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-171002" name="171002" data-qid="171"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-171003" name="171003" data-qid="171"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-171004" name="171004" data-qid="171"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-171005" name="171005" data-qid="171"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-171006" name="171006" data-qid="171"></td>' +
                            '</tr>' +
                            '<tr>' +
                            '<td>FSH（mIU/ml）</td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-171007" name="171007" data-qid="171"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-171008" name="171008" data-qid="171"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-171009" name="171009" data-qid="171"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-171010" name="171010" data-qid="171"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-171011" name="171011" data-qid="171"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-171012" name="171012" data-qid="171"></td>' +
                            '</tr>' +
                            '</tbody>' +
                            '</table>' +
                            '</div>' +
                            '</div>' +
                            '</div>';
                        $('.content-171').append(str);
                        laydate.render({
                            elem: '#date171-' + randId
                        })
                        $.each(item2, function(index3, item3) {
                            if (index3 == 0) {
                                if (item3.date != '0000-00-00') {
                                    $('.item-171' + index2).find('.date-171').val(item3.date);
                                }
                            }
                            $('.item-171' + index2).find('.data-' + item3.answer_id).val(item3.answer_name);
                        })
                    });
                }
                if (index == 172) {
                    $('.content-172').empty();
                    $.each(item, function(index2, item2) {
                        var randId = Math.ceil(Math.random() * 10000);
                        var str = '<div class="qss-form-item layui-form-item item-172' + index2 + ' table-172">' +
                            '<div class="qss-form-item layui-form-item">' +
                            '<div class="check-date">检查日期 <input type="text" class="layui-input table-input date-172"  autocomplete="off" readonly="readonly" id="date172-' + randId + '"></div>' +
                            '<button type="button" class="del">删除本次</button>' +
                            '<div class="qss-item-table">' +
                            '<table class="layui-table" lay-even lay-skin="" style="border:1px solid #cccccc;">' +
                            '<thead>' +
                            '<tr>' +
                            '<th style="width:15%;"></th>' +
                            '<th>-15min</th>' +
                            '<th>0min</th>' +
                            '<th>24h</th>' +
                            '<th>48h</th>' +
                            '<th>72h</th>' +
                            '</tr>' +
                            '</thead>' +
                            '<tbody>' +
                            '<tr>' +
                            '<td>T</td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-172001" name="172001" data-qid="172"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-172002" name="172002" data-qid="172"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-172003" name="172003" data-qid="172"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-172004" name="172004" data-qid="172"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-172005" name="172005" data-qid="172"></td>' +
                            '</tr>' +
                            '<tr>' +
                            '<td>DHT</td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-172006" name="172006" data-qid="172"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-172007" name="172007" data-qid="172"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-172008" name="172008" data-qid="172"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-172009" name="172009" data-qid="172"></td>' +
                            '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-172010" name="172010" data-qid="172"></td>' +
                            '</tr>' +
                            '</tbody>' +
                            '</table>' +
                            '</div>' +
                            '</div>' +
                            '</div>';
                        $('.content-172').append(str);
                        laydate.render({
                            elem: '#date172-' + randId
                        })
                        $.each(item2, function(index3, item3) {
                            if (index3 == 0) {
                                if (item3.date != '0000-00-00') {
                                    $('.item-172' + index2).find('.date-172').val(item3.date);
                                }
                            }
                            $('.item-172' + index2).find('.data-' + item3.answer_id).val(item3.answer_name);
                        })
                    });
                }
                if (index == 173) {
                    $('.content-173').empty();
                    $.each(item, function(index2, item2) {
                        var randId = Math.ceil(Math.random() * 10000);
                        var str = '<div class="qss-form-item layui-form-item item-173' + index2 + ' table-173">' +
                            '<div class="qss-form-item layui-form-item">' +
                            '<div class="check-date">检查日期 <input type="text" class="layui-input table-input date-173"  autocomplete="off" readonly="readonly" id="date173-' + randId + '"></div>' +
                            '<button type="button" class="del">删除本次</button>' +
                            '<div class="layui-form-label layui-form-item" style="margin-bottom:5px;">甲胎蛋白：<input type="text" lay-verify="number_char" lay-verType="tips" class="input-border-bottom  data-173"  name="173" data-qid="173">ng/ml， &#223;-人绒毛膜促性腺激素<input type="text" lay-verify="number_char" lay-verType="tips" class="input-border-bottom  data-174"  name="174" data-qid="174">mIU/ml</div>' +
                            '</div>' +
                            '</div>';
                        $('.content-173').append(str);
                        laydate.render({
                            elem: '#date173-' + randId
                        })
                        $.each(item2, function(index3, item3) {
                            if (index3 == 0) {
                                if (item3.date != '0000-00-00') {
                                    $('.item-173' + index2).find('.date-173').val(item3.date);
                                }
                            }
                            $('.item-173' + index2).find('.data-' + item3.answer_id).val(item3.answer_name);
                        })
                    });
                }
            })
            form.render();
        });
    }

    function boxShow(patient_id) {
        ajax_get(configUrl.patientInfo, {
            user_id: patient_id
        }, (res) => {
            console.log(res);
            var boxArr = res.data.types;
            if (boxArr.includes(2)) {
                $('.gh-box').show();
            }
            if (boxArr.includes(3)) {
                $('.prl-box').show();
            }
            if (boxArr.includes(4)) {
                $('.acth-box').show();
            }
            if (boxArr.includes(5)) {
                $('.tsh-box').show();
            }
            /*if (boxArr.includes(2)) {
                $('.gh-box').show();
            }*/
            $.each(boxArr, function(index, item) {
                if (item > 10) {
                    $('.qtct-box').show();
                    return false;
                }
            })
        })
        ajax_get(configUrl.qssInfo, {
            user_id: patient_id,
            visit_level: 1,
            template_id: 11
        }, (res) => {
            //console.log(res.data.question_data)
            $.each(res.data.question_data, function(index, item) {
                //console.log(item.question_id);
                if (item.question_id == 111 || item.question_id == 112 || item.question_id == 113 || item.question_id == 114 || item.question_id == 115) {
                    //console.log(item.question_id)
                    if (item.answer.length > 0) {
                        if (item.answer[0].answer_id == item.question_id + '01') {
                            $('.ctsj-box').show();
                            return false;
                        }
                    }
                }
            })
        })
    }
    $(document).ready(function() {
        var height = $(window).height() - 2;
        //$('.container').height(height);
        var patient_id = getLocalStorage('patient_id');

        //完整度
        getCompletion();

        boxShow(patient_id);
        $('td input').focus(function() {
            $(this).parent().addClass('qss-td-bg-white')
        })
        $('td input').blur(function() {
            $(this).parent().removeClass('qss-td-bg-white');
        });
        layui.use(['element', 'form', 'layer', 'laydate', 'laypage'], function() {
            var element = layui.element;
            var form = layui.form;
            var layer = layui.layer;
            var laydate = layui.laydate;
            var laypage = layui.laypage;
            initForm(patient_id, form, laydate);

            // v1.1 信息校验
            form.verify({
                number_char: function(value) {
                    if (value.length > 30) {
                        return '输入内容不能超过30个字';
                    }
                    // if (!new RegExp("(^$)|^(?!(0[<>0-9]{0,}$))[<>0-9]{1,}[.]{0,}[0-9<>]{0,}[.]{0,}[0-9]{0,}$").test(value)) {
                    //     return '只能输入正数、<、>符号';
                    // }
                },
                number_number_positive: function(value) {
                    // if (value.length > 30) {
                    //     return '输入内容不能超过30个字';
                    // }
                    // if (!new RegExp("(^$)|^(?!(0[0-9]{0,}$))[0-9]{1,}[.]{0,}[0-9]{0,}$").test(value)) {
                    //     return '只能输入正数';
                    // }
                },
            });

            $('.qss-item').on('click', 'button[class="del"]', function() {
                var that = $(this);
                var patient_name = getLocalStorage('patient_name');
                var date = $(this).parent().find('.check-date input').val();
                var title = $(this).parent().parent().parent().parent().find('.qss-item-title p').html();
                var confirm = layer.confirm('您确认要删除患者' + patient_name + '在' + date + '的' + title + '检查吗？', {
                    btn: ['确定', '取消'] //按钮
                }, function() {
                    var par = that.parent().parent().parent();
                    that.parent().parent().remove();
                    if (par.html().indexOf('div') == -1) {
                        var qid = par.attr('data-qid');
                        if (qid == 161) {
                            var randId = Math.ceil(Math.random() * 10000);
                            var str = '<div class="qss-form-item layui-form-item table-161" data-qid="161">' +
                                '<div class="qss-form-item layui-form-item">' +
                                '<div class="check-date">检查日期 <input type="text" class="layui-input table-input date-161"  autocomplete="off" readonly="readonly" id="date161-' + randId + '"></div>' +
                                '<button type="button" class="del">删除本次</button>' +
                                '<div class="layui-form-label layui-form-item" style="margin-bottom:5px;">随机GH：<input type="text" lay-verify="number_char" lay-verType="tips" class="input-border-bottom data-161" name="161" data-qid="161">ng/ml， IGF-1<input type="text" lay-verify="number_char" lay-verType="tips" class="input-border-bottom data-162" data-qid="162" name="162">ng/ml</div>' +
                                '</div>' +
                                '</div>';
                            par.append(str);
                            laydate.render({
                                elem: '#date161-' + randId
                            })
                        }
                        if (qid == 163) {
                            var randId = Math.ceil(Math.random() * 10000);
                            var str = '<div class="qss-form-item layui-form-item table-163" data-qid="163">' +
                                '<div class="qss-form-item layui-form-item">' +
                                '<div class="check-date">检查日期 <input type="text" class="layui-input table-input date-163"  autocomplete="off" readonly="readonly" id="date163-' + randId + '"></div>' +
                                '<button type="button" class="del">删除本次</button>' +
                                '<div class="qss-item-table">' +
                                '<table class="layui-table" lay-even lay-skin="" style="border:1px solid #cccccc;">' +
                                '<thead>' +
                                '<tr>' +
                                '<th>时间</th>' +
                                '<th>0分钟</th>' +
                                '<th>30分钟</th>' +
                                '<th>60分钟</th>' +
                                '<th>120分钟</th>' +
                                '<th>180分钟</th>' +
                                '</tr>' +
                                '</thead>' +
                                '<tbody>' +
                                '<tr>' +
                                '<td>GH,ng/ml</td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-163001" name="163001" data-qid="163"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-163002" name="163002" data-qid="163"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-163003" name="163003" data-qid="163"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-163004" name="163004" data-qid="163"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-163005" name="163005" data-qid="163"></td>' +
                                '</tr>' +
                                '</tbody>' +
                                '</table>' +
                                '</div>' +
                                '</div>' +
                                '</div>';
                            par.append(str);
                            laydate.render({
                                elem: '#date163-' + randId
                            })
                        }
                        if (qid == 164) {
                            var randId = Math.ceil(Math.random() * 10000);
                            var str = '<div class="qss-form-item layui-form-item table-164">' +
                                '<div class="qss-form-item layui-form-item">' +
                                '<div class="check-date">检查日期 <input type="text" class="layui-input table-input date-164"  autocomplete="off" readonly="readonly" id="date164-' + randId + '"></div>' +
                                '<button type="button" class="del">删除本次</button>' +
                                '<div class="qss-item-table">' +
                                '<table class="layui-table" lay-even lay-skin="" style="border:1px solid #cccccc;">' +
                                '<thead>' +
                                '<tr>' +
                                '<th colspan="3">血皮质醇（&#181;/dl）</th>' +
                                '<th>尿游离皮质醇</th>' +
                                '<th colspan="3">促肾上腺皮质激素（pg/ml）</th>' +
                                '</thead>' +
                                '<tbody>' +
                                '<tr>' +
                                '<th>8:00</th>' +
                                '<th>16:00</th>' +
                                '<th>0:00</th>' +
                                '<th>（&#181;/24h）</th>' +
                                '<th>8:00</th>' +
                                '<th>16:00</th>' +
                                '<th>0:00</th>' +
                                '</tr>' +
                                '<tr>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-164001" name="164001" data-qid="164"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-164002" name="164002" data-qid="164"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-164003" name="164003" data-qid="164"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-164004" name="164004" data-qid="164"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-164005" name="164005" data-qid="164"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-164006" name="164006" data-qid="164"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-164007" name="164007" data-qid="164"></td>' +
                                '</tr>' +
                                '</tbody>' +
                                '</table>' +
                                '</div>' +
                                '</div>' +
                                '</div>';
                            par.append(str);
                            laydate.render({
                                elem: '#date164-' + randId
                            })
                        }
                        if (qid == 165) {
                            var randId = Math.ceil(Math.random() * 10000);
                            var str = '<div class="qss-form-item layui-form-item table-165">' +
                                '<div class="qss-form-item layui-form-item">' +
                                '<div class="check-date">检查日期 <input type="text" class="layui-input table-input date-165"  autocomplete="off" readonly="readonly" id="date165-' + randId + '"></div>' +
                                '<button type="button" class="del">删除本次</button>' +
                                '<div class="qss-item-table">' +
                                '<table class="layui-table" lay-even lay-skin="" style="border:1px solid #cccccc;">' +
                                '<thead>' +
                                '<tr>' +
                                '<th>fT3（pmol/L）</th>' +
                                '<th>fT4（pmol/L）</th>' +
                                '<th>TSH（uIU/ml）</th>' +
                                '<th>TGAb（IU/ml）</th>' +
                                '<th>TPOAb（IU/ml）</th>' +
                                '<th>降钙素（pg/ml）</th>' +
                                '</tr>' +
                                '</thead>' +
                                '<tbody>' +
                                '<tr>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-165001" name="165001" data-qid="165"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-165002" name="165002" data-qid="165"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-165003" name="165003" data-qid="165"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-165004" name="165004" data-qid="165"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-165005" name="165005" data-qid="165"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-165006" name="165006" data-qid="165"></td>' +
                                '</tr>' +
                                '</tbody>' +
                                '</table>' +
                                '</div>' +
                                '</div>' +
                                '</div>';
                            par.append(str);
                            laydate.render({
                                elem: '#date165-' + randId
                            })
                        }
                        if (qid == 166) {
                            var randId = Math.ceil(Math.random() * 10000);
                            var str = '<div class="qss-form-item layui-form-item table-166">' +
                                '<div class="qss-form-item layui-form-item">' +
                                '<div class="check-date">检查日期 <input type="text" class="layui-input table-input date-166"  autocomplete="off" readonly="readonly" id="date166-' + randId + '"></div>' +
                                '<button type="button" class="del">删除本次</button>' +
                                '<div class="qss-item-table">' +
                                '<table class="layui-table" lay-even lay-skin="" style="border:1px solid #cccccc;">' +
                                '<thead>' +
                                '<tr>' +
                                '<th>LH（mIU/mL）</th>' +
                                '<th>FSH（mIU/mL）</th>' +
                                '<th>PRL（ng/mL）</th>' +
                                '<th>E2（pg/mL）</th>' +
                                '<th>P（ng/mL）</th>' +
                                '<th>T（ng/mL）</th>' +
                                '</tr>' +
                                '</thead>' +
                                '<tbody>' +
                                '<tr>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-166001" name="166001" data-qid="166"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-166002" name="166002" data-qid="166"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-166003" name="166003" data-qid="166"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-166004" name="166004" data-qid="166"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-166005" name="166005" data-qid="166"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-166006" name="166006" data-qid="166"></td>' +
                                '</tr>' +
                                '<tr>' +
                                '<th>FT（pg/mL）</th>' +
                                '<th>DHEAS（&#181;g/dl）</th>' +
                                '<th>17-OHP（ng/mL）</th>' +
                                '<th>SHBG（nmol/L）</th>' +
                                '<th>AD2（ng/L）</th>' +
                                '<th>DHT（pg/ml）</th>' +
                                '</tr>' +
                                '<tr>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-166007" name="166007" data-qid="166"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-166008" name="166008" data-qid="166"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-166009" name="166009" data-qid="166"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-166010" name="166010" data-qid="166"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-166011" name="166011" data-qid="166"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-166012" name="166012" data-qid="166"></td>' +
                                '</tr>' +
                                '</tbody>' +
                                '</table>' +
                                '</div>' +
                                '</div>' +
                                '</div>';
                            par.append(str);
                            laydate.render({
                                elem: '#date166-' + randId
                            })
                        }
                        if (qid == 167) {
                            var randId = Math.ceil(Math.random() * 10000);
                            var str = '<div class="qss-form-item layui-form-item table-167">' +
                                '<div class="qss-form-item layui-form-item">' +
                                '<div class="check-date">检查日期 <input type="text" class="layui-input table-input date-167"  autocomplete="off" readonly="readonly" id="date167-' + randId + '"></div>' +
                                '<button type="button" class="del">删除本次</button>' +
                                '<div class="qss-item-table">' +
                                '<table class="layui-table" lay-even lay-skin="" style="border:1px solid #cccccc;">' +
                                '<tbody>' +
                                '<tr style="background: #f2f2f2">' +
                                '<th rowspan="2" style="width:20%;">1mg<br/>地塞米松抑制试验</th>' +
                                '<th style="width:80%;">血皮质醇8:00</th>' +
                                '</tr>' +
                                '<tr style="background: none">' +
                                '<td><input type="text" class="layui-input table-input data-167001" name="167001" data-qid="167"></td>' +
                                '</tr>' +
                                '</tbody>' +
                                '</table>' +
                                '</div>' +
                                '<div class="qss-item-table">' +
                                '<table class="layui-table" lay-even lay-skin="" style="border:1px solid #cccccc;">' +
                                '<tbody>' +
                                '<tr style="background: #f2f2f2">' +
                                '<th rowspan="2" style="width:20%;">2mg<br/>地塞米松抑制试验</th>' +
                                '<th>血皮质醇8:00<br/>第2天</th>' +
                                '<th>尿游离皮质醇8:00<br/>第2天</th>' +
                                '<th>血皮质醇8:00<br/>第3天</th>' +
                                '<th>尿游离皮质醇8:00<br/>第3天</th>' +
                                '</tr>' +
                                '<tr style="background: none">' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-167002" name="167002" data-qid="167"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-167003" name="167003" data-qid="167"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-167004" name="167004" data-qid="167"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-167005" name="167005" data-qid="167"></td>' +
                                '</tr>' +
                                '<tr style="background: #f2f2f2">' +
                                '<th rowspan="2" style="width:20%;">8mg<br/>地塞米松抑制试验</th>' +
                                '<th>血皮质醇8:00<br/>第2天</th>' +
                                '<th>尿游离皮质醇8:00<br/>第2天</th>' +
                                '<th>血皮质醇8:00<br/>第3天</th>' +
                                '<th>尿游离皮质醇8:00<br/>第3天</th>' +
                                '</tr>' +
                                '<tr style="background: none">' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-167006" name="167006" data-qid="167"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-167007" name="167007" data-qid="167"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-167008" name="167008" data-qid="167"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-167009" name="167009" data-qid="167"></td>' +
                                '</tr>' +
                                '</tbody>' +
                                '</table>' +
                                '</div>' +
                                '</div>' +
                                '</div>';
                            par.append(str);
                            laydate.render({
                                elem: '#date167-' + randId
                            })
                        }
                        if (qid == 168) {
                            var randId = Math.ceil(Math.random() * 10000);
                            var str = '<div class="qss-form-item layui-form-item table-168">' +
                                '<div class="qss-form-item layui-form-item">' +
                                '<div class="check-date">检查日期 <input type="text" class="layui-input table-input date-168"  autocomplete="off" readonly="readonly" id="date168-' + randId + '"></div>' +
                                '<button type="button" class="del">删除本次</button>' +
                                '<div class="qss-item-table">' +
                                '<table class="layui-table" lay-even lay-skin="" style="border:1px solid #cccccc;">' +
                                '<thead>' +
                                '<tr>' +
                                '<th style="width:10%;"></th>' +
                                '<th>0min</th>' +
                                '<th>10min</th>' +
                                '<th>15min</th>' +
                                '<th>30min</th>' +
                                '<th>40min</th>' +
                                '<th>60min</th>' +
                                '<th>120min</th>' +
                                '<th>180min</th>' +
                                '</tr>' +
                                '</thead>' +
                                '<tbody>' +
                                '<tr>' +
                                '<td>PRL</td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-168001" name="168001" data-qid="168"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-168002" name="168002" data-qid="168"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-168003" name="168003" data-qid="168"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-168004" name="168004" data-qid="168"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-168005" name="168005" data-qid="168"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-168006" name="168006" data-qid="168"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-168007" name="168007" data-qid="168"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-168008" name="168008" data-qid="168"></td>' +
                                '</tr>' +
                                '</tbody>' +
                                '</table>' +
                                '</div>' +
                                '</div>' +
                                '</div>';
                            par.append(str);
                            laydate.render({
                                elem: '#date168-' + randId
                            })
                        }
                        if (qid == 169) {
                            var randId = Math.ceil(Math.random() * 10000);
                            var str = '<div class="qss-form-item layui-form-item table-169">' +
                                '<div class="qss-form-item layui-form-item">' +
                                '<div class="check-date">检查日期 <input type="text" class="layui-input table-input date-169"  autocomplete="off" readonly="readonly" id="date169-' + randId + '"></div>' +
                                '<button type="button" class="del">删除本次</button>' +
                                '<div class="qss-item-table">' +
                                '<table class="layui-table" lay-even lay-skin="" style="border:1px solid #cccccc;">' +
                                '<thead>' +
                                '<tr>' +
                                '<th style="width:10%;"></th>' +
                                '<th>0h</th>' +
                                '<th>2h</th>' +
                                '<th>4h</th>' +
                                '<th>6h</th>' +
                                '<th>8h</th>' +
                                '<th>24h</th>' +
                                '</tr>' +
                                '</thead>' +
                                '<tbody>' +
                                '<tr>' +
                                '<td>TSH</td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-169001" name="169001" data-qid="169"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-169002" name="169002" data-qid="169"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-169003" name="169003" data-qid="169"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-169004" name="169004" data-qid="169"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-169005" name="169005" data-qid="169"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-169006" name="169006" data-qid="169"></td>' +
                                '</tr>' +
                                '</tbody>' +
                                '</table>' +
                                '</div>' +
                                '</div>' +
                                '</div>';
                            par.append(str);
                            laydate.render({
                                elem: '#date169-' + randId
                            })
                        }
                        if (qid == 170) {
                            var randId = Math.ceil(Math.random() * 10000);
                            var str = '<div class="qss-form-item layui-form-item table-170">' +
                                '<div class="qss-form-item layui-form-item">' +
                                '<div class="check-date">检查日期 <input type="text" class="layui-input table-input date-170"  autocomplete="off" readonly="readonly" id="date170-' + randId + '"></div>' +
                                '<button type="button" class="del">删除本次</button>' +
                                '<div class="qss-item-table">' +
                                '<table class="layui-table" lay-even lay-skin="" style="border:1px solid #cccccc;">' +
                                '<thead>' +
                                '<tr>' +
                                '<th style="width:15%;"></th>' +
                                '<th>-30min</th>' +
                                '<th>0min</th>' +
                                '<th>30min</th>' +
                                '<th>45min</th>' +
                                '<th>60min</th>' +
                                '<th>90min</th>' +
                                '<th>120min</th>' +
                                '</tr>' +
                                '</thead>' +
                                '<tbody>' +
                                '<tr>' +
                                '<td>GH（ng/L）</td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170001" name="170001" data-qid="170"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170002" name="170002" data-qid="170"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170003" name="170003" data-qid="170"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170004" name="170004" data-qid="170"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170005" name="170005" data-qid="170"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170006" name="170006" data-qid="170"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170007" name="170007" data-qid="170"></td>' +
                                '</tr>' +
                                '<tr>' +
                                '<td>血皮质醇（&#181;g/dl）</td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170008" name="170008" data-qid="170"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170009" name="170009" data-qid="170"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170010" name="170010" data-qid="170"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170011" name="170011" data-qid="170"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170012" name="170012" data-qid="170"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170013" name="170013" data-qid="170"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170014" name="170014" data-qid="170"></td>' +
                                '</tr>' +
                                '<tr>' +
                                '<td>血糖（mmol/L）</td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170015" name="170015" data-qid="170"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170016" name="170016" data-qid="170"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170017" name="170017" data-qid="170"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170018" name="170018" data-qid="170"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170019" name="170019" data-qid="170"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170020" name="170020" data-qid="170"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170021" name="170021" data-qid="170"></td>' +
                                '</tr>' +
                                '</tbody>' +
                                '</table>' +
                                '</div>' +
                                '</div>' +
                                '</div>';
                            par.append(str);
                            laydate.render({
                                elem: '#date170-' + randId
                            })
                        }
                        if (qid == 171) {
                            var randId = Math.ceil(Math.random() * 10000);
                            var str = '<div class="qss-form-item layui-form-item table-171">' +
                                '<div class="qss-form-item layui-form-item">' +
                                '<div class="check-date">检查日期 <input type="text" class="layui-input table-input date-171"  autocomplete="off" readonly="readonly" id="date171-' + randId + '"></div>' +
                                '<button type="button" class="del">删除本次</button>' +
                                '<div class="qss-item-table">' +
                                '<table class="layui-table" lay-even lay-skin="" style="border:1px solid #cccccc;">' +
                                '<thead>' +
                                '<tr>' +
                                '<th style="width:15%;"></th>' +
                                '<th>-15min</th>' +
                                '<th>0min</th>' +
                                '<th>25min</th>' +
                                '<th>45min</th>' +
                                '<th>90min</th>' +
                                '<th>180min</th>' +
                                '</tr>' +
                                '</thead>' +
                                '<tbody>' +
                                '<tr>' +
                                '<td>LH（mIU/ml）</td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-171001" name="171001" data-qid="171"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-171002" name="171002" data-qid="171"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-171003" name="171003" data-qid="171"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-171004" name="171004" data-qid="171"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-171005" name="171005" data-qid="171"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-171006" name="171006" data-qid="171"></td>' +
                                '</tr>' +
                                '<tr>' +
                                '<td>FSH（mIU/ml）</td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-171007" name="171007" data-qid="171"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-171008" name="171008" data-qid="171"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-171009" name="171009" data-qid="171"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-171010" name="171010" data-qid="171"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-171011" name="171011" data-qid="171"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-171012" name="171012" data-qid="171"></td>' +
                                '</tr>' +
                                '</tbody>' +
                                '</table>' +
                                '</div>' +
                                '</div>' +
                                '</div>';
                            par.append(str);
                            laydate.render({
                                elem: '#date171-' + randId
                            })
                        }
                        if (qid == 172) {
                            var randId = Math.ceil(Math.random() * 10000);
                            var str = '<div class="qss-form-item layui-form-item table-172">' +
                                '<div class="qss-form-item layui-form-item">' +
                                '<div class="check-date">检查日期 <input type="text" class="layui-input table-input date-172"  autocomplete="off" readonly="readonly" id="date172-' + randId + '"></div>' +
                                '<button type="button" class="del">删除本次</button>' +
                                '<div class="qss-item-table">' +
                                '<table class="layui-table" lay-even lay-skin="" style="border:1px solid #cccccc;">' +
                                '<thead>' +
                                '<tr>' +
                                '<th style="width:15%;"></th>' +
                                '<th>-15min</th>' +
                                '<th>0min</th>' +
                                '<th>24h</th>' +
                                '<th>48h</th>' +
                                '<th>72h</th>' +
                                '</tr>' +
                                '</thead>' +
                                '<tbody>' +
                                '<tr>' +
                                '<td>T</td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-172001" name="172001" data-qid="172"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-172002" name="172002" data-qid="172"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-172003" name="172003" data-qid="172"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-172004" name="172004" data-qid="172"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-172005" name="172005" data-qid="172"></td>' +
                                '</tr>' +
                                '<tr>' +
                                '<td>DHT</td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-172006" name="172006" data-qid="172"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-172007" name="172007" data-qid="172"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-172008" name="172008" data-qid="172"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-172009" name="172009" data-qid="172"></td>' +
                                '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-172010" name="172010" data-qid="172"></td>' +
                                '</tr>' +
                                '</tbody>' +
                                '</table>' +
                                '</div>' +
                                '</div>' +
                                '</div>';
                            par.append(str);
                            laydate.render({
                                elem: '#date172-' + randId
                            })
                        }
                        if (qid == 173) {
                            var randId = Math.ceil(Math.random() * 10000);
                            var str = '<div class="qss-form-item layui-form-item table-173">' +
                                '<div class="qss-form-item layui-form-item">' +
                                '<div class="check-date">检查日期 <input type="text" class="layui-input table-input date-173"  autocomplete="off" readonly="readonly" id="date173-' + randId + '"></div>' +
                                '<button type="button" class="del">删除本次</button>' +
                                '<div class="layui-form-label layui-form-item" style="margin-bottom:5px;">甲胎蛋白：<input type="text" lay-verify="number_char" lay-verType="tips" class="input-border-bottom  data-173"  name="173" data-qid="173">ng/ml， &#223;-人绒毛膜促性腺激素<input type="text" lay-verify="number_char" lay-verType="tips" class="input-border-bottom  data-174"  name="174" data-qid="174">mIU/ml</div>' +
                                '</div>' +
                                '</div>';
                            par.append(str);
                            laydate.render({
                                elem: '#date173-' + randId
                            })
                        }

                    }
                    layer.close(confirm)
                }, function() {
                    layer.close(confirm)
                });
            })
            laydate.render({
                elem: '#date161'
            });
            laydate.render({
                elem: '#date163'
            });
            laydate.render({
                elem: '#date164'
            });
            laydate.render({
                elem: '#date165'
            });
            laydate.render({
                elem: '#date166'
            });
            laydate.render({
                elem: '#date167'
            });
            laydate.render({
                elem: '#date168'
            });
            laydate.render({
                elem: '#date169'
            });
            laydate.render({
                elem: '#date170'
            });
            laydate.render({
                elem: '#date171'
            });
            laydate.render({
                elem: '#date172'
            });
            laydate.render({
                elem: '#date173'
            });
            form.on('submit(submit-btn)', function(data) {
                var jumpType = $(this).attr('data-type');
                var question = {
                    161: [],
                    163: [],
                    164: [],
                    165: [],
                    166: [],
                    167: [],
                    168: [],
                    169: [],
                    170: [],
                    171: [],
                    172: [],
                    173: [],
                }
                var isSubmit = 1;
                $('.table-161').each(function(index, item) {
                    var qid = 161;
                    question[qid][index] = [];
                    var data = {};
                    var date = '';
                    var isDate = false;
                    data['161'] = $(this).find('.data-161').val();
                    data['162'] = $(this).find('.data-162').val();
                    date = $(this).find('.date-161').val();
                    $.each(data, function(index1, item1) {
                        if (item1 != '') {
                            isDate = true;
                            return false;
                        }
                    });
                    if (isDate == true) {
                        if (date == '') {
                            isSubmit = 0;
                            $(this).find('.date-161').css('border-color', 'red');
                            layer.msg('请输入日期', {
                                icon: 5,
                                time: 1000
                            });
                            return false;
                        } else {
                            question[qid][index].push(data);
                            question[qid][index].push(date);
                        }
                    }
                })
                if (isSubmit == 0) {
                    return false;
                }
                $('.table-163').each(function(index, item) {
                    var qid = 163;
                    question[qid][index] = [];
                    var data = {};
                    var date = '';
                    var isDate = false;
                    data['163001'] = $(this).find('.data-163001').val();
                    data['163002'] = $(this).find('.data-163002').val();
                    data['163003'] = $(this).find('.data-163003').val();
                    data['163004'] = $(this).find('.data-163004').val();
                    data['163005'] = $(this).find('.data-163005').val();
                    date = $(this).find('.date-163').val();
                    $.each(data, function(index1, item1) {
                        if (item1 != '') {
                            isDate = true;
                            return false;
                        }
                    });
                    if (isDate == true) {
                        if (date == '') {
                            isSubmit = 0;
                            $(this).find('.date-163').css('border-color', 'red');
                            layer.msg('请输入日期', {
                                icon: 5,
                                time: 1000
                            });
                            return false;
                        } else {
                            question[qid][index].push(data);
                            question[qid][index].push(date);
                        }
                    }
                });
                if (isSubmit == 0) {
                    return false;
                }
                $('.table-164').each(function(index, item) {
                    var qid = 164;
                    question[qid][index] = [];
                    var data = {};
                    var date = '';
                    var isDate = false;
                    data['164001'] = $(this).find('.data-164001').val();
                    data['164002'] = $(this).find('.data-164002').val();
                    data['164003'] = $(this).find('.data-164003').val();
                    data['164004'] = $(this).find('.data-164004').val();
                    data['164005'] = $(this).find('.data-164005').val();
                    data['164006'] = $(this).find('.data-164006').val();
                    data['164007'] = $(this).find('.data-164007').val();
                    date = $(this).find('.date-164').val();
                    $.each(data, function(index1, item1) {
                        if (item1 != '') {
                            isDate = true;
                            return false;
                        }
                    });
                    if (isDate == true) {
                        if (date == '') {
                            isSubmit = 0;
                            $(this).find('.date-164').css('border-color', 'red');
                            layer.msg('请输入日期', {
                                icon: 5,
                                time: 1000
                            });
                            return false;
                        } else {
                            question[qid][index].push(data);
                            question[qid][index].push(date);
                        }
                    }
                })
                if (isSubmit == 0) {
                    return false;
                }
                $('.table-165').each(function(index, item) {
                    var qid = 165;
                    question[qid][index] = [];
                    var data = {};
                    var date = '';
                    var isDate = false;
                    data['165001'] = $(this).find('.data-165001').val();
                    data['165002'] = $(this).find('.data-165002').val();
                    data['165003'] = $(this).find('.data-165003').val();
                    data['165004'] = $(this).find('.data-165004').val();
                    data['165005'] = $(this).find('.data-165005').val();
                    data['165006'] = $(this).find('.data-165006').val();
                    date = $(this).find('.date-165').val();
                    $.each(data, function(index1, item1) {
                        if (item1 != '') {
                            isDate = true;
                            return false;
                        }
                    });
                    if (isDate == true) {
                        if (date == '') {
                            isSubmit = 0;
                            $(this).find('.date-165').css('border-color', 'red');
                            layer.msg('请输入日期', {
                                icon: 5,
                                time: 1000
                            });
                            return false;
                        } else {
                            question[qid][index].push(data);
                            question[qid][index].push(date);
                        }
                    }
                })
                if (isSubmit == 0) {
                    return false;
                }
                $('.table-166').each(function(index, item) {
                    var qid = 166;
                    question[qid][index] = [];
                    var data = {};
                    var date = '';
                    var isDate = false;
                    data['166001'] = $(this).find('.data-166001').val();
                    data['166002'] = $(this).find('.data-166002').val();
                    data['166003'] = $(this).find('.data-166003').val();
                    data['166004'] = $(this).find('.data-166004').val();
                    data['166005'] = $(this).find('.data-166005').val();
                    data['166006'] = $(this).find('.data-166006').val();
                    data['166007'] = $(this).find('.data-166007').val();
                    data['166008'] = $(this).find('.data-166008').val();
                    data['166009'] = $(this).find('.data-166009').val();
                    data['166010'] = $(this).find('.data-166010').val();
                    data['166011'] = $(this).find('.data-166011').val();
                    data['166012'] = $(this).find('.data-166012').val();
                    date = $(this).find('.date-166').val();
                    $.each(data, function(index1, item1) {
                        if (item1 != '') {
                            isDate = true;
                            return false;
                        }
                    });
                    if (isDate == true) {
                        if (date == '') {
                            isSubmit = 0;
                            $(this).find('.date-166').css('border-color', 'red');
                            layer.msg('请输入日期', {
                                icon: 5,
                                time: 1000
                            });
                            return false;
                        } else {
                            question[qid][index].push(data);
                            question[qid][index].push(date);
                        }
                    }
                })
                if (isSubmit == 0) {
                    return false;
                }
                $('.table-167').each(function(index, item) {
                    var qid = 167;
                    question[qid][index] = [];
                    var data = {};
                    var date = '';
                    var isDate = false;
                    data['167001'] = $(this).find('.data-167001').val();
                    data['167002'] = $(this).find('.data-167002').val();
                    data['167003'] = $(this).find('.data-167003').val();
                    data['167004'] = $(this).find('.data-167004').val();
                    data['167005'] = $(this).find('.data-167005').val();
                    data['167006'] = $(this).find('.data-167006').val();
                    data['167007'] = $(this).find('.data-167007').val();
                    data['167008'] = $(this).find('.data-167008').val();
                    data['167009'] = $(this).find('.data-167009').val();
                    date = $(this).find('.date-167').val();
                    $.each(data, function(index1, item1) {
                        if (item1 != '') {
                            isDate = true;
                            return false;
                        }
                    });
                    if (isDate == true) {
                        if (date == '') {
                            isSubmit = 0;
                            $(this).find('.date-167').css('border-color', 'red');
                            layer.msg('请输入日期', {
                                icon: 5,
                                time: 1000
                            });
                            return false;
                        } else {
                            question[qid][index].push(data);
                            question[qid][index].push(date);
                        }
                    }
                })
                if (isSubmit == 0) {
                    return false;
                }
                $('.table-168').each(function(index, item) {
                    var qid = 168;
                    question[qid][index] = [];
                    var data = {};
                    var date = '';
                    var isDate = false;
                    data['168001'] = $(this).find('.data-168001').val();
                    data['168002'] = $(this).find('.data-168002').val();
                    data['168003'] = $(this).find('.data-168003').val();
                    data['168004'] = $(this).find('.data-168004').val();
                    data['168005'] = $(this).find('.data-168005').val();
                    data['168006'] = $(this).find('.data-168006').val();
                    data['168007'] = $(this).find('.data-168007').val();
                    data['168008'] = $(this).find('.data-168008').val();
                    date = $(this).find('.date-168').val();
                    $.each(data, function(index1, item1) {
                        if (item1 != '') {
                            isDate = true;
                            return false;
                        }
                    });
                    if (isDate == true) {
                        if (date == '') {
                            isSubmit = 0;
                            $(this).find('.date-168').css('border-color', 'red');
                            layer.msg('请输入日期', {
                                icon: 5,
                                time: 1000
                            });
                            return false;
                        } else {
                            question[qid][index].push(data);
                            question[qid][index].push(date);
                        }
                    }
                })
                if (isSubmit == 0) {
                    return false;
                }
                $('.table-169').each(function(index, item) {
                    var qid = 169;
                    question[qid][index] = [];
                    var data = {};
                    var date = '';
                    var isDate = false;
                    data['169001'] = $(this).find('.data-169001').val();
                    data['169002'] = $(this).find('.data-169002').val();
                    data['169003'] = $(this).find('.data-169003').val();
                    data['169004'] = $(this).find('.data-169004').val();
                    data['169005'] = $(this).find('.data-169005').val();
                    data['169006'] = $(this).find('.data-169006').val();
                    date = $(this).find('.date-169').val();
                    $.each(data, function(index1, item1) {
                        if (item1 != '') {
                            isDate = true;
                            return false;
                        }
                    });
                    if (isDate == true) {
                        if (date == '') {
                            isSubmit = 0;
                            $(this).find('.date-169').css('border-color', 'red');
                            layer.msg('请输入日期', {
                                icon: 5,
                                time: 1000
                            });
                            return false;
                        } else {
                            question[qid][index].push(data);
                            question[qid][index].push(date);
                        }
                    }
                })
                if (isSubmit == 0) {
                    return false;
                }
                $('.table-170').each(function(index, item) {
                    var qid = 170;
                    question[qid][index] = [];
                    var data = {};
                    var date = '';
                    var isDate = false;
                    data['170001'] = $(this).find('.data-170001').val();
                    data['170002'] = $(this).find('.data-170002').val();
                    data['170003'] = $(this).find('.data-170003').val();
                    data['170004'] = $(this).find('.data-170004').val();
                    data['170005'] = $(this).find('.data-170005').val();
                    data['170006'] = $(this).find('.data-170006').val();
                    data['170007'] = $(this).find('.data-170007').val();
                    data['170008'] = $(this).find('.data-170008').val();
                    data['170009'] = $(this).find('.data-170009').val();
                    data['170010'] = $(this).find('.data-170010').val();
                    data['170011'] = $(this).find('.data-170011').val();
                    data['170012'] = $(this).find('.data-170012').val();
                    data['170013'] = $(this).find('.data-170013').val();
                    data['170014'] = $(this).find('.data-170014').val();
                    data['170015'] = $(this).find('.data-170015').val();
                    data['170016'] = $(this).find('.data-170016').val();
                    data['170017'] = $(this).find('.data-170017').val();
                    data['170018'] = $(this).find('.data-170018').val();
                    data['170019'] = $(this).find('.data-170019').val();
                    data['170020'] = $(this).find('.data-170020').val();
                    data['170021'] = $(this).find('.data-170021').val();
                    date = $(this).find('.date-170').val();
                    $.each(data, function(index1, item1) {
                        if (item1 != '') {
                            isDate = true;
                            return false;
                        }
                    });
                    if (isDate == true) {
                        if (date == '') {
                            isSubmit = 0;
                            $(this).find('.date-170').css('border-color', 'red');
                            layer.msg('请输入日期', {
                                icon: 5,
                                time: 1000
                            });
                            return false;
                        } else {
                            question[qid][index].push(data);
                            question[qid][index].push(date);
                        }
                    }
                })
                if (isSubmit == 0) {
                    return false;
                }
                $('.table-171').each(function(index, item) {
                    var qid = 171;
                    question[qid][index] = [];
                    var data = {};
                    var date = '';
                    var isDate = false;
                    data['171001'] = $(this).find('.data-171001').val();
                    data['171002'] = $(this).find('.data-171002').val();
                    data['171003'] = $(this).find('.data-171003').val();
                    data['171004'] = $(this).find('.data-171004').val();
                    data['171005'] = $(this).find('.data-171005').val();
                    data['171006'] = $(this).find('.data-171006').val();
                    data['171007'] = $(this).find('.data-171007').val();
                    data['171008'] = $(this).find('.data-171008').val();
                    data['171009'] = $(this).find('.data-171009').val();
                    data['171010'] = $(this).find('.data-171010').val();
                    data['171011'] = $(this).find('.data-171011').val();
                    data['171012'] = $(this).find('.data-171012').val();
                    date = $(this).find('.date-171').val();
                    $.each(data, function(index1, item1) {
                        if (item1 != '') {
                            isDate = true;
                            return false;
                        }
                    });
                    if (isDate == true) {
                        if (date == '') {
                            isSubmit = 0;
                            $(this).find('.date-171').css('border-color', 'red');
                            layer.msg('请输入日期', {
                                icon: 5,
                                time: 1000
                            });
                            return false;
                        } else {
                            question[qid][index].push(data);
                            question[qid][index].push(date);
                        }
                    }
                })
                if (isSubmit == 0) {
                    return false;
                }
                $('.table-172').each(function(index, item) {
                    var qid = 172;
                    question[qid][index] = [];
                    var data = {};
                    var date = '';
                    var isDate = false;
                    data['172001'] = $(this).find('.data-172001').val();
                    data['172002'] = $(this).find('.data-172002').val();
                    data['172003'] = $(this).find('.data-172003').val();
                    data['172004'] = $(this).find('.data-172004').val();
                    data['172005'] = $(this).find('.data-172005').val();
                    data['172006'] = $(this).find('.data-172006').val();
                    data['172007'] = $(this).find('.data-172007').val();
                    data['172008'] = $(this).find('.data-172008').val();
                    data['172009'] = $(this).find('.data-172009').val();
                    data['172010'] = $(this).find('.data-172010').val();
                    date = $(this).find('.date-172').val();
                    $.each(data, function(index1, item1) {
                        if (item1 != '') {
                            isDate = true;
                            return false;
                        }
                    });
                    if (isDate == true) {
                        if (date == '') {
                            isSubmit = 0;
                            $(this).find('.date-172').css('border-color', 'red');
                            layer.msg('请输入日期', {
                                icon: 5,
                                time: 1000
                            });
                            return false;
                        } else {
                            question[qid][index].push(data);
                            question[qid][index].push(date);
                        }
                    }
                })
                if (isSubmit == 0) {
                    return false;
                }
                $('.table-173').each(function(index, item) {
                    var qid = 173;
                    question[qid][index] = [];
                    var data = {};
                    var date = '';
                    var isDate = false;
                    data['173'] = $(this).find('.data-173').val();
                    data['174'] = $(this).find('.data-174').val();
                    date = $(this).find('.date-173').val();
                    $.each(data, function(index1, item1) {
                        if (item1 != '') {
                            isDate = true;
                            return false;
                        }
                    });
                    if (isDate == true) {
                        if (date == '') {
                            isSubmit = 0;
                            $(this).find('.date-173').css('border-color', 'red');
                            layer.msg('请输入日期', {
                                icon: 5,
                                time: 1000
                            });
                            return false;
                        } else {
                            question[qid][index].push(data);
                            question[qid][index].push(date);
                        }
                    }
                })
                if (isSubmit == 0) {
                    return false;
                }
                var chapterId = 1701;
                var visitLevel = 1;
                var params = {
                    'hosp_id': getLocalStorage('hosp_id'),
                    'dept_id': getLocalStorage('dept_id'),
                    'user_id': getLocalStorage('patient_id'),
                    'doc_id': getLocalStorage('doc_id'),
                    'visit_level': 1,
                    'template_id': 17,
                    'terminal_flg': 0,
                    'data': [{
                        'visit_level': 1,
                        'user_id': getLocalStorage('patient_id'),
                        'doc_id': getLocalStorage('doc_id'),
                        "terminal_flg": "0",
                        'template_id': 17,
                        "datasource": "2",
                        'answer': []
                    }]
                };

                var answer = [];
                $.each(question, function(question_id, item) {
                    $.each(item, function(index, data) {
                        if (data.length > 0) {
                            var arr = []
                            $.each(data[0], function(i, value) {
                                var qid = question_id
                                arr.push({
                                    'chapter_id': chapterId,
                                    'question_id': qid,
                                    'subquestion_id': i,
                                    'answer_id': i,
                                    'answer_name': value,
                                    'visit_level': visitLevel,
                                    'date': data[1]
                                })
                            })
                            answer.push(arr);
                        }
                    })
                })

                params.data[0].answer = answer;
                //var data = JSON.stringify(params.data);
                //params.data = data;

                var token = getLocalStorage('token');
                var headers = {};
                if (token) {
                    headers.Authorization = 'Bearer ' + token;
                }

                let formData = new FormData;

                //formData.append('fileData',$("#fileUpload").prop('files')[0]);
                formData.append('hosp_id', getLocalStorage('hosp_id'));
                formData.append('dept_id', getLocalStorage('dept_id'));
                formData.append('user_id', getLocalStorage('patient_id'));
                formData.append('doc_id', getLocalStorage('doc_id'));
                formData.append('visit_level', 1);
                formData.append('template_id', 17);
                formData.append('terminal_flg', 0);
                formData.append('data', JSON.stringify(params.data));
                var token = getLocalStorage('token');
                var headers = {};
                if (token) {
                    headers.Authorization = 'Bearer ' + token;
                }
                $.ajax({
                    url: configUrl.host + '/api/v1/pituitary/qss/info',
                    type: 'POST',
                    data: formData,
                    processData: false,
                    cache: false,
                    contentType: false,
                    headers: headers,
                    success: function(res) {
                        if (res.status == 0) {
                            layer.msg('操作成功', {
                                icon: 6,
                                time: 1000
                            }, function() {
                                if (jumpType == 0) {
                                    //不跳转
                                    window.location.reload();
                                } else {
                                    //跳转
                                    window.location.href = './qss8.html';
                                }
                            });
                        } else {
                            layer.msg(res.msg);
                        }
                    },
                    error: function() {
                        alert('数据提交失败');
                    }
                })

                return false;
            })

            $('.add-new-161').on('click', function() {
                var randId = Math.ceil(Math.random() * 10000);
                var str = '<div class="qss-form-item layui-form-item table-161" data-qid="161">' +
                    '<div class="qss-form-item layui-form-item">' +
                    '<div class="check-date">检查日期 <input type="text" class="layui-input table-input date-161"  autocomplete="off" readonly="readonly" id="date161-' + randId + '"></div>' +
                    '<button type="button" class="del">删除本次</button>' +
                    '<div class="layui-form-label layui-form-item" style="margin-bottom:5px;">随机GH：<input type="text" lay-verify="number_char" lay-verType="tips" class="input-border-bottom data-161" name="161" data-qid="161">ng/ml， IGF-1<input type="text" lay-verify="number_char" lay-verType="tips" class="input-border-bottom data-162" data-qid="162" name="162">ng/ml</div>' +
                    '</div>' +
                    '</div>';
                $('.content-161').append(str);
                laydate.render({
                    elem: '#date161-' + randId,
                    tigger: 'click'
                })
            })
            $('.add-new-163').on('click', function() {
                var randId = Math.ceil(Math.random() * 10000);
                var str =
                    '<div class="qss-form-item layui-form-item table-163" data-qid="163">' +
                    '<div class="qss-form-item layui-form-item">' +
                    '<div class="check-date">检查日期 <input type="text" class="layui-input table-input date-163"  autocomplete="off" readonly="readonly" id="date163-' + randId + '"></div>' +
                    '<button type="button" class="del">删除本次</button>' +
                    '<div class="qss-item-table">' +
                    '<table class="layui-table" lay-even lay-skin="" style="border:1px solid #cccccc;">' +
                    '<thead>' +
                    '<tr>' +
                    '<th>时间</th>' +
                    '<th>0分钟</th>' +
                    '<th>30分钟</th>' +
                    '<th>60分钟</th>' +
                    '<th>120分钟</th>' +
                    '<th>180分钟</th>' +
                    '</tr>' +
                    '</thead>' +
                    '<tbody>' +
                    '<tr>' +
                    '<td>GH,ng/ml</td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-163001" name="163001" data-qid="163"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-163002" name="163002" data-qid="163"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-163003" name="163003" data-qid="163"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-163004" name="163004" data-qid="163"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-163005" name="163005" data-qid="163"></td>' +
                    '</tr>' +
                    '</tbody>' +
                    '</table>' +
                    '</div>' +
                    '</div>' +
                    '</div>';
                $('.content-163').append(str);
                laydate.render({
                    elem: '#date163-' + randId,
                    tigger: 'click'
                })
            });
            $('.add-new-164').on('click', function() {
                var randId = Math.ceil(Math.random() * 10000);
                var str = '<div class="qss-form-item layui-form-item table-164">' +
                    '<div class="qss-form-item layui-form-item">' +
                    '<div class="check-date">检查日期 <input type="text" class="layui-input table-input date-164"  autocomplete="off" readonly="readonly" id="date164-' + randId + '"></div>' +
                    '<button type="button" class="del">删除本次</button>' +
                    '<div class="qss-item-table">' +
                    '<table class="layui-table" lay-even lay-skin="" style="border:1px solid #cccccc;">' +
                    '<thead>' +
                    '<tr>' +
                    '<th colspan="3">血皮质醇（&#181;/dl）</th>' +
                    '<th>尿游离皮质醇</th>' +
                    '<th colspan="3">促肾上腺皮质激素（pg/ml）</th>' +
                    '</thead>' +
                    '<tbody>' +
                    '<tr>' +
                    '<th>8:00</th>' +
                    '<th>16:00</th>' +
                    '<th>0:00</th>' +
                    '<th>（&#181;/24h）</th>' +
                    '<th>8:00</th>' +
                    '<th>16:00</th>' +
                    '<th>0:00</th>' +
                    '</tr>' +
                    '<tr>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-164001" name="164001" data-qid="164"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-164002" name="164002" data-qid="164"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-164003" name="164003" data-qid="164"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-164004" name="164004" data-qid="164"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-164005" name="164005" data-qid="164"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-164006" name="164006" data-qid="164"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-164007" name="164007" data-qid="164"></td>' +
                    '</tr>' +
                    '</tbody>' +
                    '</table>' +
                    '</div>' +
                    '</div>' +
                    '</div>';
                $('.content-164').append(str);
                laydate.render({
                    elem: '#date164-' + randId,
                })
            });
            $('.add-new-165').on('click', function() {
                var randId = Math.ceil(Math.random() * 10000);
                var str = '<div class="qss-form-item layui-form-item table-165">' +
                    '<div class="qss-form-item layui-form-item">' +
                    '<div class="check-date">检查日期 <input type="text" class="layui-input table-input date-165"  autocomplete="off" readonly="readonly" id="date165-' + randId + '"></div>' +
                    '<button type="button" class="del">删除本次</button>' +
                    '<div class="qss-item-table">' +
                    '<table class="layui-table" lay-even lay-skin="" style="border:1px solid #cccccc;">' +
                    '<thead>' +
                    '<tr>' +
                    '<th>fT3（pmol/L）</th>' +
                    '<th>fT4（pmol/L）</th>' +
                    '<th>TSH（uIU/ml）</th>' +
                    '<th>TGAb（IU/ml）</th>' +
                    '<th>TPOAb（IU/ml）</th>' +
                    '<th>降钙素（pg/ml）</th>' +
                    '</tr>' +
                    '</thead>' +
                    '<tbody>' +
                    '<tr>' +
                    '<td><input type="text" class="layui-input table-input data-165001" name="165001" data-qid="165"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-165002" name="165002" data-qid="165"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-165003" name="165003" data-qid="165"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-165004" name="165004" data-qid="165"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-165005" name="165005" data-qid="165"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-165006" name="165006" data-qid="165"></td>' +
                    '</tr>' +
                    '</tbody>' +
                    '</table>' +
                    '</div>' +
                    '</div>' +
                    '</div>';
                $('.content-165').append(str);
                laydate.render({
                    elem: '#date165-' + randId,
                })
            });
            $('.add-new-166').on('click', function() {
                var randId = Math.ceil(Math.random() * 10000);
                var str = '<div class="qss-form-item layui-form-item table-166">' +
                    '<div class="qss-form-item layui-form-item">' +
                    '<div class="check-date">检查日期 <input type="text" class="layui-input table-input date-166"  autocomplete="off" readonly="readonly" id="date166-' + randId + '"></div>' +
                    '<button type="button" class="del">删除本次</button>' +
                    '<div class="qss-item-table">' +
                    '<table class="layui-table" lay-even lay-skin="" style="border:1px solid #cccccc;">' +
                    '<thead>' +
                    '<tr>' +
                    '<th>LH（mIU/mL）</th>' +
                    '<th>FSH（mIU/mL）</th>' +
                    '<th>PRL（ng/mL）</th>' +
                    '<th>E2（pg/mL）</th>' +
                    '<th>P（ng/mL）</th>' +
                    '<th>T（ng/mL）</th>' +
                    '</tr>' +
                    '</thead>' +
                    '<tbody>' +
                    '<tr>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-166001" name="166001" data-qid="166"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-166002" name="166002" data-qid="166"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-166003" name="166003" data-qid="166"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-166004" name="166004" data-qid="166"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-166005" name="166005" data-qid="166"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-166006" name="166006" data-qid="166"></td>' +
                    '</tr>' +
                    '<tr>' +
                    '<th>FT（pg/mL）</th>' +
                    '<th>DHEAS（&#181;g/dl）</th>' +
                    '<th>17-OHP（ng/mL）</th>' +
                    '<th>SHBG（nmol/L）</th>' +
                    '<th>AD2（ng/L）</th>' +
                    '<th>DHT（pg/ml）</th>' +
                    '</tr>' +
                    '<tr>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-166007" name="166007" data-qid="166"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-166008" name="166008" data-qid="166"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-166009" name="166009" data-qid="166"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-166010" name="166010" data-qid="166"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-166011" name="166011" data-qid="166"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-166012" name="166012" data-qid="166"></td>' +
                    '</tr>' +
                    '</tbody>' +
                    '</table>' +
                    '</div>' +
                    '</div>' +
                    '</div>';
                $('.content-166').append(str);
                laydate.render({
                    elem: '#date166-' + randId,
                })
            });
            $('.add-new-167').on('click', function() {
                var randId = Math.ceil(Math.random() * 10000);
                var str = '<div class="qss-form-item layui-form-item table-167">' +
                    '<div class="qss-form-item layui-form-item">' +
                    '<div class="check-date">检查日期 <input type="text" class="layui-input table-input date-167"  autocomplete="off" readonly="readonly" id="date167-' + randId + '"></div>' +
                    '<button type="button" class="del">删除本次</button>' +
                    '<div class="qss-item-table">' +
                    '<table class="layui-table" lay-even lay-skin="" style="border:1px solid #cccccc;">' +
                    '<tbody>' +
                    '<tr style="background: #f2f2f2">' +
                    '<th rowspan="2" style="width:20%;">1mg<br/>地塞米松抑制试验</th>' +
                    '<th style="width:80%;">血皮质醇8:00</th>' +
                    '</tr>' +
                    '<tr style="background: none">' +
                    '<td><input type="text" class="layui-input table-input data-167001" name="167001" data-qid="167"></td>' +
                    '</tr>' +
                    '</tbody>' +
                    '</table>' +
                    '</div>' +
                    '<div class="qss-item-table">' +
                    '<table class="layui-table" lay-even lay-skin="" style="border:1px solid #cccccc;">' +
                    '<tbody>' +
                    '<tr style="background: #f2f2f2">' +
                    '<th rowspan="2" style="width:20%;">2mg<br/>地塞米松抑制试验</th>' +
                    '<th>血皮质醇8:00<br/>第2天</th>' +
                    '<th>尿游离皮质醇8:00<br/>第2天</th>' +
                    '<th>血皮质醇8:00<br/>第3天</th>' +
                    '<th>尿游离皮质醇8:00<br/>第3天</th>' +
                    '</tr>' +
                    '<tr style="background: none">' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-167002" name="167002" data-qid="167"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-167003" name="167003" data-qid="167"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-167004" name="167004" data-qid="167"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-167005" name="167005" data-qid="167"></td>' +
                    '</tr>' +
                    '<tr style="background: #f2f2f2">' +
                    '<th rowspan="2" style="width:20%;">8mg<br/>地塞米松抑制试验</th>' +
                    '<th>血皮质醇8:00<br/>第2天</th>' +
                    '<th>尿游离皮质醇8:00<br/>第2天</th>' +
                    '<th>血皮质醇8:00<br/>第3天</th>' +
                    '<th>尿游离皮质醇8:00<br/>第3天</th>' +
                    '</tr>' +
                    '<tr style="background: none">' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-167006" name="167006" data-qid="167"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-167007" name="167007" data-qid="167"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-167008" name="167008" data-qid="167"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-167009" name="167009" data-qid="167"></td>' +
                    '</tr>' +
                    '</tbody>' +
                    '</table>' +
                    '</div>' +
                    '</div>' +
                    '</div>';
                $('.content-167').append(str);
                laydate.render({
                    elem: '#date167-' + randId,
                })
            })
            $('.add-new-168').on('click', function() {
                var randId = Math.ceil(Math.random() * 10000);
                var str = '<div class="qss-form-item layui-form-item table-168">' +
                    '<div class="qss-form-item layui-form-item">' +
                    '<div class="check-date">检查日期 <input type="text" class="layui-input table-input date-168"  autocomplete="off" readonly="readonly" id="date168-' + randId + '"></div>' +
                    '<button type="button" class="del">删除本次</button>' +
                    '<div class="qss-item-table">' +
                    '<table class="layui-table" lay-even lay-skin="" style="border:1px solid #cccccc;">' +
                    '<thead>' +
                    '<tr>' +
                    '<th style="width:10%;"></th>' +
                    '<th>0min</th>' +
                    '<th>10min</th>' +
                    '<th>15min</th>' +
                    '<th>30min</th>' +
                    '<th>40min</th>' +
                    '<th>60min</th>' +
                    '<th>120min</th>' +
                    '<th>180min</th>' +
                    '</tr>' +
                    '</thead>' +
                    '<tbody>' +
                    '<tr>' +
                    '<td>PRL</td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-168001" name="168001" data-qid="168"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-168002" name="168002" data-qid="168"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-168003" name="168003" data-qid="168"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-168004" name="168004" data-qid="168"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-168005" name="168005" data-qid="168"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-168006" name="168006" data-qid="168"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-168007" name="168007" data-qid="168"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-168008" name="168008" data-qid="168"></td>' +
                    '</tr>' +
                    '</tbody>' +
                    '</table>' +
                    '</div>' +
                    '</div>' +
                    '</div>';
                $('.content-168').append(str);
                laydate.render({
                    elem: '#date168-' + randId
                })
            });
            $('.add-new-169').on('click', function() {
                var randId = Math.ceil(Math.random() * 10000);
                var str = '<div class="qss-form-item layui-form-item table-169">' +
                    '<div class="qss-form-item layui-form-item">' +
                    '<div class="check-date">检查日期 <input type="text" class="layui-input table-input date-169"  autocomplete="off" readonly="readonly" id="date169-' + randId + '"></div>' +
                    '<button type="button" class="del">删除本次</button>' +
                    '<div class="qss-item-table">' +
                    '<table class="layui-table" lay-even lay-skin="" style="border:1px solid #cccccc;">' +
                    '<thead>' +
                    '<tr>' +
                    '<th style="width:10%;"></th>' +
                    '<th>0h</th>' +
                    '<th>2h</th>' +
                    '<th>4h</th>' +
                    '<th>6h</th>' +
                    '<th>8h</th>' +
                    '<th>24h</th>' +
                    '</tr>' +
                    '</thead>' +
                    '<tbody>' +
                    '<tr>' +
                    '<td>TSH</td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-169001" name="169001" data-qid="169"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-169002" name="169002" data-qid="169"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-169003" name="169003" data-qid="169"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-169004" name="169004" data-qid="169"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-169005" name="169005" data-qid="169"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-169006" name="169006" data-qid="169"></td>' +
                    '</tr>' +
                    '</tbody>' +
                    '</table>' +
                    '</div>' +
                    '</div>' +
                    '</div>';
                $('.content-169').append(str);
                laydate.render({
                    elem: '#date169-' + randId
                })
            })
            $('.add-new-170').on('click', function() {
                var randId = Math.ceil(Math.random() * 10000);
                var str = '<div class="qss-form-item layui-form-item table-170">' +
                    '<div class="qss-form-item layui-form-item">' +
                    '<div class="check-date">检查日期 <input type="text" class="layui-input table-input date-170"  autocomplete="off" readonly="readonly" id="date170-' + randId + '"></div>' +
                    '<button type="button" class="del">删除本次</button>' +
                    '<div class="qss-item-table">' +
                    '<table class="layui-table" lay-even lay-skin="" style="border:1px solid #cccccc;">' +
                    '<thead>' +
                    '<tr>' +
                    '<th style="width:15%;"></th>' +
                    '<th>-30min</th>' +
                    '<th>0min</th>' +
                    '<th>30min</th>' +
                    '<th>45min</th>' +
                    '<th>60min</th>' +
                    '<th>90min</th>' +
                    '<th>120min</th>' +
                    '</tr>' +
                    '</thead>' +
                    '<tbody>' +
                    '<tr>' +
                    '<td>GH（ng/L）</td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170001" name="170001" data-qid="170"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170002" name="170002" data-qid="170"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170003" name="170003" data-qid="170"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170004" name="170004" data-qid="170"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170005" name="170005" data-qid="170"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170006" name="170006" data-qid="170"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170007" name="170007" data-qid="170"></td>' +
                    '</tr>' +
                    '<tr>' +
                    '<td>血皮质醇（&#181;g/dl）</td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170008" name="170008" data-qid="170"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170009" name="170009" data-qid="170"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170010" name="170010" data-qid="170"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170011" name="170011" data-qid="170"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170012" name="170012" data-qid="170"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170013" name="170013" data-qid="170"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170014" name="170014" data-qid="170"></td>' +
                    '</tr>' +
                    '<tr>' +
                    '<td>血糖（mmol/L）</td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170015" name="170015" data-qid="170"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170016" name="170016" data-qid="170"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170017" name="170017" data-qid="170"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170018" name="170018" data-qid="170"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170019" name="170019" data-qid="170"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170020" name="170020" data-qid="170"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-170021" name="170021" data-qid="170"></td>' +
                    '</tr>' +
                    '</tbody>' +
                    '</table>' +
                    '</div>' +
                    '</div>' +
                    '</div>';
                $('.content-170').append(str);
                laydate.render({
                    elem: '#date170-' + randId,
                })
            })
            $('.add-new-171').on('click', function() {
                var randId = Math.ceil(Math.random() * 1000);
                var str = '<div class="qss-form-item layui-form-item table-171">' +
                    '<div class="qss-form-item layui-form-item">' +
                    '<div class="check-date">检查日期 <input type="text" class="layui-input table-input date-171"  autocomplete="off" readonly="readonly" id="date171-' + randId + '"></div>' +
                    '<button type="button" class="del">删除本次</button>' +
                    '<div class="qss-item-table">' +
                    '<table class="layui-table" lay-even lay-skin="" style="border:1px solid #cccccc;">' +
                    '<thead>' +
                    '<tr>' +
                    '<th style="width:15%;"></th>' +
                    '<th>-15min</th>' +
                    '<th>0min</th>' +
                    '<th>25min</th>' +
                    '<th>45min</th>' +
                    '<th>90min</th>' +
                    '<th>180min</th>' +
                    '</tr>' +
                    '</thead>' +
                    '<tbody>' +
                    '<tr>' +
                    '<td>LH（mIU/ml）</td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-171001" name="171001" data-qid="171"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-171002" name="171002" data-qid="171"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-171003" name="171003" data-qid="171"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-171004" name="171004" data-qid="171"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-171005" name="171005" data-qid="171"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-171006" name="171006" data-qid="171"></td>' +
                    '</tr>' +
                    '<tr>' +
                    '<td>FSH（mIU/ml）</td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-171007" name="171007" data-qid="171"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-171008" name="171008" data-qid="171"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-171009" name="171009" data-qid="171"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-171010" name="171010" data-qid="171"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-171011" name="171011" data-qid="171"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-171012" name="171012" data-qid="171"></td>' +
                    '</tr>' +
                    '</tbody>' +
                    '</table>' +
                    '</div>' +
                    '</div>' +
                    '</div>';
                $('.content-171').append(str);
                laydate.render({
                    elem: '#date171-' + randId
                })
            })
            $('.add-new-172').on('click', function() {
                var randId = Math.ceil(Math.random() * 10000);
                var str = '<div class="qss-form-item layui-form-item table-172">' +
                    '<div class="qss-form-item layui-form-item">' +
                    '<div class="check-date">检查日期 <input type="text" class="layui-input table-input date-172"  autocomplete="off" readonly="readonly" id="date172-' + randId + '"></div>' +
                    '<button type="button" class="del">删除本次</button>' +
                    '<div class="qss-item-table">' +
                    '<table class="layui-table" lay-even lay-skin="" style="border:1px solid #cccccc;">' +
                    '<thead>' +
                    '<tr>' +
                    '<th style="width:15%;"></th>' +
                    '<th>-15min</th>' +
                    '<th>0min</th>' +
                    '<th>24h</th>' +
                    '<th>48h</th>' +
                    '<th>72h</th>' +
                    '</tr>' +
                    '</thead>' +
                    '<tbody>' +
                    '<tr>' +
                    '<td>T</td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-172001" name="172001" data-qid="172"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-172002" name="172002" data-qid="172"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-172003" name="172003" data-qid="172"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-172004" name="172004" data-qid="172"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-172005" name="172005" data-qid="172"></td>' +
                    '</tr>' +
                    '<tr>' +
                    '<td>DHT</td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-172006" name="172006" data-qid="172"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-172007" name="172007" data-qid="172"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-172008" name="172008" data-qid="172"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-172009" name="172009" data-qid="172"></td>' +
                    '<td><input type="text" lay-verify="number_char" lay-verType="tips" class="layui-input table-input data-172010" name="172010" data-qid="172"></td>' +
                    '</tr>' +
                    '</tbody>' +
                    '</table>' +
                    '</div>' +
                    '</div>' +
                    '</div>';
                $('.content-172').append(str);
                laydate.render({
                    elem: '#date172-' + randId
                })
            })
            $('.add-new-173').on('click', function() {
                var randId = Math.ceil(Math.random() * 10000);
                var str = '<div class="qss-form-item layui-form-item table-173">' +
                    '<div class="qss-form-item layui-form-item">' +
                    '<div class="check-date">检查日期 <input type="text" class="layui-input table-input date-173"  autocomplete="off" readonly="readonly" id="date173-' + randId + '"></div>' +
                    '<button type="button" class="del">删除本次</button>' +
                    '<div class="layui-form-label layui-form-item" style="margin-bottom:5px;">甲胎蛋白：<input type="text" lay-verify="number_char" lay-verType="tips" class="input-border-bottom  data-173"  name="173" data-qid="173">ng/ml， &#223;-人绒毛膜促性腺激素<input type="text" lay-verify="number_char" lay-verType="tips" class="input-border-bottom  data-174"  name="174" data-qid="174">mIU/ml</div>' +
                    '</div>' +
                    '</div>';
                $('.content-173').append(str);
                laydate.render({
                    elem: '#date173-' + randId
                })
            })
        })
    })
</script>

</html>